Switching PHP Version
Posted by Madhusudan S, Last modified by Jitin S on 06 January 2016 04:59:49 PM
We support PHP 5.2, 5.3, 5.4, 5 .5 and 5.6 on our cPanel Hosting Servers, with PHP 5.4 being the default version.
If you had previously enabled a different PHP version using the older method of adding files named usealtphp, you need to make sure all these files have been deleted or renamed. You need to make sure that the following files do not exist:
1. Once this is confirmed, you can change the PHP version from cPanel itself now. You need to log into your cPanel and click on the option "Select PHP version"
2. Once inside the selector menu, you need to select the PHP version you want to run on your website.
3. Select the PHP modules you want to load and "Save" the modules and then making sure that the PHP version is correct client on "Set as current" and this should make sure the chosen PHP version is set.
By default, We support PHP 5.2 on our Plesk Hosting Servers. In order to switch to PHP 5.3, you need to make the following changes from the Plesk panel:
You may switch back to PHP 5.2 through the same process as mentioned above.
You may refer our short screencast showing how to change the PHP version in Cpanel:
You may refer our short screencast showing how to change the PHP version in Plesk panel: