If you are using WordPress for your blog/website, You should know that It uses PHP at the backend. PHP is a language that helps to make the WordPress website functional. You might think that HTML, CSS is doing the job But, Wait. PHP plays the most important role in the making of WordPress backend.
If the backend doesn’t function properly, The Frontend of a website will be of no use. That is the reason, You should keep an eye on the PHP version of your website. There are multiple things that might ask for a particular PHP version on your WordPress Website.
For example, If you are using any plugin, It might ask for the latest PHP version for some reason. Or Maybe a theme might need a particular PHP version, So you will have to check and update the PHP version.
It is a task of doing from the Hosting Server. But, To make things a little easier for you, We are sharing some of the easiest ways to check. You can directly check the PHP version and even update/change according to your choice in some of them. If you are not aware of this, You can even update or modify PHP settings through cPanel.
Different Version of PHP
There are various versions of PHP that have arrived from the past. The latest is 7.4 as of writing these words. There are many unique features and changelog to different versions of PHP. Here are some of the recent updates of the PHP version along with some of the unique features and updates.
This is the journey of PHP from Version 5.2 to 7.1
PHP 5.2 – It was released in August 2007. If you are using WordPress, This version is the minimum requirement for the deployment of WordPress on your site. So, You will have to use at least PHP 5.2 in order to use WordPress as the CMS on your Website/Blog.
PHP 5.3 – It was the major upgrade after 5.2. You might see that most of the plugins and themes may support this PHP version. But, It is highly recommended to upgrade the PHP version from 5.3 to any newer ones.
PHP 5.4 – After the predecessor, this Version came after August 2014. It was one of the most supported PHP version at times. It had various major upgrades in the Speed Improvements, consumed Less Memory. It became a very popular PHP version amongst the users.
PHP 5.5 and 5.6 – These are one of the last PHP versions that were available before PHP 7.1 was introduced. These are one of the most used PHP version right now. About half of the WordPress Installations are using PHP 5.5 or PHP 5.6 versions. Because they are providing enough features required for your website/blog.
PHP 7.1 – Now comes the PHP 7.1, Most of the hosting providers are providing the option to upgrade to PHP 7.1. But the users are still on the previous one. You can check PHP version of your website by using the following methods directly from the WordPress Dashboard.
Check PHP Version from WordPress Dashboard
You can adjust and modify your usage according to PHP Version you are using. You can check the version directly from installing a plugin. This will allow you to check which version you are using on your website/blog which is deployed on WordPress.
Display PHP Version
This is a Plugin that does what it says. You can use this plugin to display the PHP version of your Website. To use this plugin, follow the steps below and you will be able to check the PHP version of the website/blog.
- Click on Plugins > Then Click on Add New
- Search for Display PHP Version
- Click on Install in order to install the plugin on your site.
- Click on Activate once the plugin is installed on your website.
- Go to the dashboard of your website
You will be able to see the PHP version of your website under the section of At a Glance. At the bottom, You can see the PHP version which shows as Running PHP Version.
This way, You will be able to see the PHP Version on your WordPress dashboard without going into deep metrics. But, How will you know which plugins are compatible with the PHP version you are using. This can tell if you need an upgrade of PHP version for the plugins you are using on your website.
Check Compatibility of Plugins and Themes with PHP Version
You can simply use a single plugin in order to check the compatibility with the other PHP variants that you can use. Here is the simple method to easily check the compatibility of Plugins and Themes on your website with the PHP Versions.
PHP Compatibility Checker
You can install this plugin and check if all the plugins you use on your website are eligible for the compatibility of other PHP versions. To use this plugin, Follow the method and check the compatibility right away:
- Go to your Website Dashboard and Click on Plugins
- Click on Add New
- Search for PHP Compatibility Checker
- Install and activate the plugin.
- Now Drag the cursor over Tools and Select PHP Compatibility
- Select the PHP version you want to check the compatibility for.
- Choose one option from the Plugin/Theme Status.
- Click on Scan Site.
It will show how many of your plugins are compatible with the PHP version you selected. If you wish to upgrade your PHP version, Contact the Hosting Provider. After upgrading, Check the PHP from the plugin mentioned previously.
That was all about checking the PHP version of your website directly from the WordPress Dashboard. You can use any of the latest PHP versions on your website once the plugins and themes are compatible with the same.
If you have any doubts/suggestions/feedback, Let us know through the comments. If you are facing a problem while installing the plugins or checking the PHP version, Comment that down below. Follow us on Social media platforms to get the latest updates around.
Have a Nice Day!