How to Update PHP in WordPress using cPanel

WordPress users must have come across something unusual today owing to a recent update. How to Update PHP in WordPress using cPanel will teach you how to get rid of that atypical hiccup.

If you have recently updated your WordPress you must be getting the following alert at the top side of your admin dashboard:

php update required error in wordpress

When you click on it, you will get to read the entire message which might look something like this:

message for Php update required in wordpress

If you have been seeing this, it means that the recent version of WordPress has been asking for a PHP update.

Now even if you ignore that dreaded red warning symbol that looks more like an error, to be honest, it really wouldn’t matter. But as the first line reads:

WordPress has detected that your site is running on an insecure version of PHP.

Now that’s a setback inside your head. Besides anything red and prompting doesn’t look like a good sign. Also, your latest WordPress update might require an updated version of PHP for proper functioning of some things we don’t understand.

update meme

So why not we take care of it the right way? You know, updating our version of PHP to stay updated and in sync with the curve.

The easiest way would be to do it with your cPanel. We are going to see that here. It is highly recommended you take a backup of your site, before proceeding.

How to Update PHP in WordPress using cPanel

Here are the steps on How to Update PHP in WordPress using cPanel:

Step 1: Open your domain website control panel using your cpanel url. Might look something like this:

yoururl.com/cpanel

NOTE: If you are not sure check your ISP mail on how to access your cpanel.

Step 2: Log in to your cpanel using your credentials:

login screen of cpanel

Step 3: In the main screen of your cPanel, scroll down to the Software section. Your cPanel might have a different view.

first screen of cpanel

Step 4: Click on “Select PHP version”.

find select php version

Step 5: The next screen might look something like this. It is here that your current PHP version shows. As you can see it is 5.4 here.

php version being shown

Step 6: In the dropdown that shows your current version, select the version you wish to upgrade to.

select dropdown to select a php version

Since 7.3 is the latest version of PHP being shown in my case, I am going to select that.

Step 7: Once you select that from the dropdown, click on Save. It will save the version.

save changes

You will get a message like this once you click on Save:

module set saved message

Step 8: Then to Set the version, you need to click on Set as Current:

set as current option for php update

That’s it! With that you will see the updated version being reflected here now:

current php version updated

Now go ahead and refresh your dashboard.

How to Update PHP in WordPress using cPanel notification is gone

As you can see the notification is no longer there. It is gone!

If you liked our tutorial, tell us in the comments whether it worked for you or not. Don’t hold yourself back from checking out more cool wordpress tutorials on our website.

Scottshak

Poet. Author. Blogger. Screenwriter. Director. Editor. Software Engineer. Author of "Songs of a Ruin" and proud owner of four websites and two production houses. Also, one of the geekiest Test Automation Engineers based in Ahmedabad.

You may also like...

Leave a Reply