How to change the PHP version for the main domain
To change the PHP version on your server, open Webhosting
from the top menu, and then, under the Webserver
section on the left menu, select Main domain settings
. On the opened page, find the modify
button.
At the bottom of the page, there is a dropdown menu through which you can choose between different PHP versions. Next, select the desired version and click the Save changes
button to apply the selection.
How to change the PHP version for a subdomain
To change the PHP version for a subdomain, go to Webhosting
, then select Webserver
from the left menu. Then click on Subdomains
. On the opened page, find the subdomain for which you want to change the PHP version and press the modify
button.
At the bottom of the page, there is a dropdown menu where you can choose between different PHP versions. Select the desired version and save by pressing the Save changes
button.