How to update php version in whm

You can easily upgrade or update your server’s version of PHP using the EasyApache 4 tool in WHM (Web Host Manager). In this tutorial we will show walk you through the update/upgrade steps. If you came here from our article on how to pass PCI compliance scans, outdated versions of PHP are a common thing that can cause your website to fail a PCI scan. So understanding how to update PHP on your own using EasyApache in WHM is great knowledge to have in order to help keep your website PCI compliant.

Upgrading PHP with EasyApache

  1. Log into WHM as the “root” user.
  2. How to update php version in whm

    In the search box type ‘easy’ then click the EasyApache 4 option.

  3. How to update php version in whm

    Click the Customize button next to Currently Installed Packages.

  4. How to update php version in whm

    Click the PHP Versions link.

    How to update php version in whm

    You will then see your installed packages listed. If a PHP version is updatable it will have an Update switch already turned on.

  5. How to update php version in whm

    To install additional PHP versions, click the slider next to the options. In this example, I am installing PHP 7.1.

  6. How to update php version in whm

    Click the Review button once you have chosen which packages to update/install.

    How to update php version in whm

    You will then see a message stating “Preparing selected packages for review …” This may take several minutes to complete.

  7. How to update php version in whm

    The Review page will list all the changes you are about to make. Scroll to the bottom, and click the Provision button to proceed.

    How to update php version in whm

    The provision process will then begin. This may take several minutes to complete.

  8. How to update php version in whm

    You are finished when you see a message stating “The provision process is complete.” Click the Done button to return to the main EasyApache 4 page.

Congratulations, now you know how to update and upgrade the PHP version on your server!

John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

How do I update PHP version in cPanel WHM?

Procedure.
Log into WHM..
Navigate to EasyApache 4..
Click Customize under Currently Installed Packages..
Click PHP Versions..
Mark the version for installation by clicking the switch icon to the far right of the version..
When prompted, click the option to only install the PHP version or the PHP version and extensions..

How do I update PHP to latest version?

Log into the control panel of your hosting provider. Under, the “Software” tab, click on Select PHP Version. On the next page, you will see the PHP version your web server is using. Now, click on the current PHP version and then select the latest version from the drop-down.

How do I update PHP 7.4 in cPanel?

Kinsta has very simple PHP setting option..
Select your site..
Click on Tools from left sidebar..
Choose PHP Engine..
Click on Modify..
And Select PHP 7.4..

How do I manually update PHP in cPanel?

Change the PHP Version on Your Sites.
Login to cPanel..
Click the MultiPHP Manager link in the Software section of cPanel..
Check the box for the site or sites you wish to update..
Select the desired PHP Version from the drop-down menu..
Click the Apply button..