Photo by cottonbro from Pexels

How To Update PHP On Your Dedicated Server?

You can reset the version of PHP on your dedicated server and its cPanel sites. Sometimes one version of PHP works for some sites while it doesn’t work for others.

For example: While running WordPress, the recommended PHP version is at least PHP 7 or higher. However, it also runs on some lower versions.

The lesson will guide you how you can update PHP version both server wide and on per domain basis.

To upgrade PHP on your Dedicated Server:

  1. Log in to your SANGKRIT.net account
  2. Open the Products page and click the Servers tab
  3. Click Launch (Next to the account, you want to use)
  4. Click Manage Server (WHM) 
  5. Click Proceed

On your WHM admin page:

  1. Search PHP on left side search box
  2. Click MultiPHP Manager
  3. You will see a list of domains
  4. You can set PHP version per Domain
  5. Select the domains that you wish to change
  6. Apply a PHP version from the list given there

The page also enables you to set a system default PHP version.

Any domain that is set to the inherit value indicates that it does not have its own PHP version explicitly set.

Newer versions of PHP are released with a lot of new improvements. As it progresses, every update is made to make it more secure, less resource hungry, and overall faster than before.

For any more help, simply comment below or use the helpline.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.