Update Your PHP Version in WordPress

Easy way to Update Your PHP Version in WordPress

Do you want to update the PHP version of your WordPress site?

Using the latest PHP version for your WordPress website improves performance and website speed. Sometimes your web hosting company may be using an older version of PHP.

So we’ll show you how to easily update the PHP version of your WordPress website.

Reason Why You Need to Update the PHP Version of Your WordPress Site

WordPress is developed using an open-source programming language called PHP. At the time of writing this article, WordPress requires at least PHP version 7.4 or greater. The current stable version available for PHP is 8.0.8.
Most WordPress hosting companies use PHP versions 7.4 or higher to meet the minimum WordPress requirements.

Each PHP version improves performance by more efficiently running processes and reducing memory usage. This impacts your WordPress site speed by making it faster and reducing the load on your server.

Normally, WordPress hosts automatically update PHP version in the background. These updates have no effect on most websites, and you may not notice any change at all.

Occasionally, a plugin on your WordPress website may misbehave due to incompatibility with a newer PHP version. In that case, some website owners may want to switch back to the older PHP version until a plugin update fixes that issue.

Each PHP version improves performance by more efficiently running processes and reducing memory usage. This impacts your WordPress site speed by making it faster and reducing the load on your server.

How to Check the PHP Version in WordPress?

WordPress makes it super easy to check the PHP version used by your hosting provider.

Simply login to the admin area of your WordPress website and go to the Tools » Site Health page and switch to the ‘Info’ tab.

php updates

Then, scroll down a little and click to expand the ‘Server’ tab. This section shows server information including the PHP version used by your server.

php update using wordpress

How to Update the PHP Version on Your WordPress Site

All top WordPress hosting companies allow you to easily change the PHP version used by your website. We’ll show you a few examples from top hosting providers.

Changing PHP Version in Namecheap

First, you need to login to your Namecheap hosting account dashboard and Scroll down to the Exclusive for Namecheap Customers section >> Select PHP Version.

You will see the list of available modules and extensions.

namecheap php version

If you do not need to change the PHP version and just want to turn on/off specific extensions, you can do this by checking/unchecking the corresponding boxes.

Use the Current PHP version drop-down box to select the required version and click on Set as current in order to apply the changes.

namecheap php selector
Changing PHP Version in Bluehost

First, you need to login to your Bluehost hosting account dashboard and click on the Advanced tab in the left column.

It will bring you to the advanced tools page to manage your hosting account. From here you need to click on the MultiPHP Manager icon.

php manager bluehost

On the next page, you need to select your website and then select the PHP version that you want to use.
Click on the Apply button to save your changes.

Bluehost will now start using the PHP version you selected for your website.

Changing PHP Version in SiteGround

If you are using SiteGround hosting, then here is how you would update the PHP verison of your WordPress website.

First you need to login to your SiteGround account dashboard. After that, you need to switch to the ‘Websites’ page and then click on the Site Tools button next to your website.

sitetools sg

Next, you need to go to DEVS » PHP Manager from the left column. From here you can choose to use SiteGround’s Ultrafast PHP or Standard PHP. You can also change the PHP version number by clicking on the Edit icon.

This will bring up a popup where you first need to select ‘Change PHP version manually’ under the ‘Set PHP Version’ option.
After that, you would be able to select your PHP version from a drop down menu. Don’t forget to click on the Confirm button to apply your changes.

Changing PHP Version in Other WordPress Hosting Environments

Most WordPress hosting companies use similar hosting dashboards with some customizations. Usually, you will find the MultiPHP Manager icon in the cPanel dashboard.

If you cannot find it, then you can contact your WordPress hosting provider and ask them to change the PHP version of your website.

Things to Do After Updating PHP Version of Your Website

After updating the PHP version for your WordPress website, you may want to make sure that everything is working as expected.

We recommend visiting your website to see if there are any immediately noticeable issues.

After that, you can login to the WordPress area of your website. Make sure your website is using the latest version of WordPress and all your plugins and WordPress theme are updated. See our beginner’s guide on how to safely update WordPress.

Lastly, it is always recommended to make a complete backup of your WordPress website.

What to Do if a PHP Update Breaks Your WordPress Site?

There are very little chances of a PHP update breaking your WordPress site. However, with the abundance of free and paid plugins, there is a chance that a single line of poor code can result into an error.

The first thing you need to do is make sure that it is not a plugin or theme causing this error. To do that deactivate all your WordPress plugins and switch to a default WordPress theme.

If this does not solve your issue, then contact your web host’s support team. There is a good chance that the issue you are facing will already be in their notice, and they will be able to assist you.

If your web host is unable to help you out, then you can downgrade your PHP version using the methods described above. If you have any issue on this, you can use our comment session or join our delegate on facebook to solve any issues related to WordPress and subscribe to our YouTube Channel for WordPress video tutorials.

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top