How to Change PHP Version in cPanel

The latest versions of cPanel make it easy to choose what PHP version your site is using. We supports PHP version oldest to latest 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0 and 8.1 version. With just a few clicks, you can switch between different versions and even use different versions across sites in the same cPanel. This is especially helpful when upgrading older sites, troubleshooting, or dealing with third-party applications.

cPanel’s MultiPHP Manager

Just a few years ago, managing different cPanel PHP versions was an all-or-nothing ordeal. Older tools would change the PHP version for every site on a cPanel at once. Configuring different individual sites required awkward workarounds using .htaccess files. The latest versions of cPanel introduced a new tool, MultiPHP Manager, which simplifies the process. Click on the MultiPHP Manager icon in the Software section of cPanel to get started!

Please Note: be sure to click on MultiPHP Manager and not MultiPHP INI Editor. The INI Editor is a different piece of software that helps you fine tune your PHP settings on individual sites.

 

Change the PHP Version on Your Sites

Now that you know what the MultiPHP Manager is, we’ll show you how to use it to change the PHP version for your sites.

  1. Login to cPanel.
  2. Click the MultiPHP Manager link in the Software section of cPanel.
  3. Check the box for the site or sites you wish to update.
  4. Select the desired PHP Version from the drop-down menu.
  5. Click the Apply button.

That’s all it takes to change the PHP version used on any site you choose. If you are having issues with a site and want to double-check the version of PHP in use, remember that you can always set up a PHPinfo page for the site as well

 

 

 

 

Was this answer helpful? 413 Users Found This Useful (1661 Votes)