How to Upgrade PHP Version in cPanel/WHM Server?

Following article will assist you to upgrade PHP version in cPanel/WHM server. This article is only applicable to Linux server with cPanel/WHM. Before you upgrade PHP version, make sure that all your websites/web applications are compatible with new version of PHP.

  1. Log into WHM via root user.
  2. Search the EasyApache from the top left search bar. You will see EasyApache (Apache Update) option under Software section.

    EasyApache

  3. Click on EasyApache (Apache Update). This will open new window as following.
  4. At next screen, you would see the current Apache configuration (current profile) under Previously Saved Config, hover the mouse over gear icon Customize Profile located under Action column.

    customize-profile.png

  5. You will see Apache version screen as shown below. Select the Apache version which you would like to build and click on Next Step. If you just want to upgrade the PHP version keep Apache radio button as is.

    apache-version.png

  6. At next stage, you will see screen to select the PHP Version.
  7. Select the PHP version you would like to upgrade and click on Next Step.

    php-version-select.png

  8. Since we are just upgrading PHP version, there is no need to make any changes at next 2 stages, Short Options List and Exhaustive Options List.
  9. Go to Next Step for Save and Build.

Want to upgrade PHP in your Windows Server? Check out our aritcle with easy steps to upgrade PHP version in Windows Server.

  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

Fix cPanel Error -The Email Account Already Exists

Sometimes, you add an email account from cPanel, and you get an error message The Email Account...

Do you support PHP on your Servers? If yes, is it automatically available OR do I have to request for it?

PHP is available on all our Windows shared hosting and Linux shared hosting. You just need to...

How to deploy Mean.js application to VPS?

Upload Mean.js Files via SFTP In FileZilla Once your mean.js webcontent is ready, you need to...

How to sync time using NTP in CentOS and Ubuntu servers?

Linux server users might have noticed that after adjusting the system clock to the correct time,...

How could I find which ports are opened on my hosted site?

If your website is hosted on a shared hosting, you will have to contact us to check whether a...