Knowledgebase: Reseller Windows Hosting
Switching PHP Version
Posted by Madhusudan S, Last modified by Jitin S on 06 January 2016 04:59:49 PM

cPanel Hosting

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:

  • /home/<username>/usealtphp
  • /home/<username>/usealtphp55
  • /opt/php52/<username>

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.

 

Plesk Hosting

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:

  1. Login to the Plesk panel of the domain name for which you wish to switch the PHP version.

  2. Click the Website & Domains tab and then the Show Advanced Options link.

  3. Here, click the Virtual Directories link.

  4. Under the Tools section, click the PHP Settings button.

  5. Select the 5.3.21 version and click the OK button.

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:

(0 vote(s))
Helpful
Not helpful