Knowledgebase: Web Hosting
How do I change my PHP version?
Posted by Tony B., Last modified by Brian F. on 27 August 2020 09:41 AM

All shared, cloud web hosting, semi-dedicated, and reseller hosting plans offer the following PHP versions:

  • PHP 4.4 (EOL)
  • PHP 5.1 (EOL), PHP 5.2 (EOL), PHP 5.3 (EOL), PHP 5.4, PHP 5.5 (EOL), PHP 5.6 (EOL)
  • PHP 7.0 (EOL), PHP 7.1 (EOL), PHP 7.2, PHP 7.3, PHP 7.4

Any PHP version with (EOL) means it has reached its end of life and is no longer receiving feature updates. Custom security patches are still applied through CloudLinux however it is strongly recommended to not run any EOL version of PHP. We recommend running PHP 7.2 or newer.

To change your accounts PHP version:

  1. Login to cPanel for your account.

  2. In the top left search bar, type "Select PHP Version":



  3. From the Select PHP Version interface use theĀ "My Domains" select your new default PHP version:



  4. Select your desired PHP version and then click "Set as current":

From this interface you can also enable/disable various modules specific to your desired PHP version. You can also modify your custom php.ini settings using the "Options" menu from the top navigation. Refer to our KB article for more details on modifying PHP options or extensions

Please note for these changes to take effect on all addon domains you will need to make sure your sites are set to the "inherit" setting through theĀ MultiPHP Manager interface in cPanel.

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).