Biblioteca de cunoștințe

How do I change my PHP version?

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 (EOL), PHP 7.3 (EOL), PHP 7.4
  • PHP 8.0, PHP 8.1, PHP 8.2

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.4 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.

  • 0 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

"Please wait while your request is being verified..." message sho...

Our cloud web hosting, semi-dedicated, and reseller web hosting plans utilize Imunify360 WAF (web...

Accessing SpamExperts and creating separate SpamExperts users

All cloud web hosting, semi-dedicated, and reseller hosting services include enterprise level...

Can Hawk Host host international domains?

We can host any TLD that's currently supported by ICANN. We run a clustered DNS setup in...

Can I add more RAM/memory to my hosting account?

RAM/memory upgrades are available on all shared, cloud web hosting, and semi-dedicated hosting...

Can I use ImageMagick?

By default we have ImageMagick installed on all of our servers. When it asks for the path, use...