If you use WordPress, you’re also using PHP. As the underlying programming language for this Content Management System (CMS), PHP affects everything from your site’s security to its performance. Therefore, it’s vital to make sure you’re using an updated version.
Fortunately, upgrading to the newest PHP version in WordPress is a quick and simple process. Once you determine which release you’re currently using, you can take the necessary steps to update it if needed.
In this post, we’ll explain why it’s important to use the latest version of PHP on your WordPress site. Then we’ll walk you through how to check your current version, as well as how to update it via cPanel and on other hosting providers. Let’s jump right in!
The importance of using an updated PHP version
WordPress runs on PHP. Therefore, what version you’re using can affect many different aspects of your site, from speed to security. This is just as important for your website’s overall health as keeping your WordPress Core, plugins, and themes up to date.
Currently, WordPress requires you to run at least PHP 7.4. However, the most recent major, stable update available is 8.0. Each PHP version brings performance improvements, bug fixes, and security patches that are designed to make it more efficient and secure.
Many WordPress hosts automatically update PHP for the sites on their servers. This means you could be running the latest version and not even know it. However, it’s best not to assume that’s the case. Instead, we recommend checking to confirm which version you’re currently using, and then upgrading to a more recent version if needed.
Keep in mind that, occasionally, the newest version of PHP may cause a conflict or compatibility issue on your site. For example, a plugin might stop working if its developer hasn’t updated it to work with the latest PHP release.
If this happens, you can either find an alternative plugin or roll back your site to a previous version. For that reason, we highly recommend creating a backup of your site before making any changes to it.
How to check your current PHP version in WordPress
Fortunately, finding out what PHP version your WordPress website is currently using is a quick and simple process. You can do this directly from your admin dashboard.
To get started, navigate to Tools > Site Health:
On the Site Health screen, you will find a plethora of information about your website. This includes recommended improvements you can make, such as removing inactive plugins and themes.
Next, click on the Info tab:
Under this tab, click to expand the Server section:
[…]
This article was written by Will Morris and originally published on ManageWP.