This tutorial shows you how to easily change your PHP version in cPanel.

You can choose which version of PHP you want to run on your Ecenica Web Hosting and Managed VPS. This is useful if the PHP app you are running on your website requires an older version of PHP, or simply if you wish to develop using the latest PHP builds.

You choose exactly which PHP version you want to run in just a few clicks via your cPanel control panel.

1. Change PHP version on Shared Hosting

  1. Log in to cPanel.
  2. Click Select PHP Version.
  3. Select your PHP version, and click Set as current.
  4. Your account will immediately use the version of PHP and modules you have selected.

2. Change PHP version on Managed VPS with CloudLinux

  1. Log in to WHM.
  2. Click List Accounts and log into the account you want to change the PHP version for.
  3. Click Select PHP Version.
  4. Select your PHP version, and click Set as current.
  5. The cPanel account will immediately start using the version of PHP and modules you have selected.

3. Change PHP version on Managed VPS without CloudLinux

  1. Log in to WHM.
  2. Click List Accounts and log into the account you want to change the PHP version for.
  3. Click MultiPHP Manager.
  4. Select the domain you wish to change the PHP version for.
  5. Select the PHP version you wish to use from the PHP Version drop-down list.
  6. Click Apply

PHP Version FAQ

Q: Can I run multiple versions of PHP on CloudLinux?

A: The PHP selector will change the PHP version for all your domains under your cPanel account. If you’d like to run multiple versions then you can buy another web hosting package for the domain or sub-domain.

Q: Can I choose PHP modules on Managed VPS without CloudLinux?

A: Choosing PHP modules is a feature provided by CloudLinux and requires the optional add-on to your Ecenica Managed VPS.