This article only applies to the hsphere control panel / account portal at https://cp.u2-web.com/ . Another control panel we use has this feature built in and if you want to switch to that, it can be arranged via a support ticket.
At this time the hsphere control panel does not list newer versions of PHP. As such, if you need to use php 5.6 or 7.0 please place the following blank files in the domain's directory:
So for example, if you have a domain called "example.com" and want to use PHP 7.3 with it, you would upload two empty files called ".usePHP73" and ".useApache24" to the example.com directory listed in FTP or the file manager when first connecting to either one.
NOTE: if you require a version newer than the ones above, please contact us as you will need to be migrated to a different web server platform.
NOTE: the "." in the file names is correct and depending on how you create those files, the program may add an extension (.txt for example). Both files with correct names are required.
Once you add those files, just wait 10 to 15 minutes for the configuration to reload and you will be using the version selected.
MySQL User notes: if you receive database connection issues, please reset the password for the mysql user to use the long hash as described in https://clients.cooini.com/knowledgebase/146/Update-MySQL-User-Password-To-Use-Long-Hash.html .