PHP is a very popular server-side scripting language because of the versatile functionality that it offers. It is generally used to generate dynamic content on a website.
In a WordPress based website, PHP runs in the backend to help the website function properly. All the plugins and themes that you install on your website, run the PHP script in the background. This allows you to customise the look and features of your website without having the technical knowledge of programming.
The PHP version of the hosting on which a site is running matters quite a lot because it can affect the loading speeds of your website. If you don’t know the procedure to check the PHP version of hosting then there is no need to worry as you are the right place.
How To Check PHP Version Of Hosting From WordPress Dashboard
Before you check the PHP version of your hosting, it is important to have a basic knowledge about PHP and how it works. This information can help you to improve the speed of your site.
First of all, let us discuss what exactly is PHP?
PHP is a service-side scripting language that is used by millions of users from all across the globe. It is mainly used for web development but a lot of programmers also use it as a general programming language. It is also the most popular WordPress hosting provider because of multiple reasons like versatility, fast loading speeds, secure database, great functionality etc.
Different versions of PHP
Just like any other scripting language, PHP keeps getting updated with time. This is why there are many versions of PHP. WordPress always recommends you to use the latest version of PHP on your hosting. The first version was PHP 5.2 and the latest one is version is 7.
Version 7 was released in late 2015. Now because WordPress recommends you to run PHP version 7 on your hosting, let us talk a little about the features that it offers.
The best feature of the PHP Version 7 is that it offers optimal loading speeds. The speeds are twice as fast as the speeds on the previous versions. It also offers Zero cost assets and consistent 64-bit support as a bonus. You can also remove the unsupported and old extensions with the help of PHP 7.
Method to check the PHP version of hosting
In order to check the PHP Version of Hosting, you will have to run a WordPress PHP version check on your site. You can easily do this by installing “Display PHP Version” plugin on your WordPress panel. It is a free plugin that is capable of displaying the PHP version of your hosting.
Firstly, go to the Plugins section in your WordPress panel. Then, navigate to the Add New option.
After that, search for the “Display PHP Version” plugin and click on the Install Now option.
Once the plugin gets installed, select the Activate Plugin option. Now, just go to the dashboard of your WordPress panel, scroll down to the bottom of the page and click on the At a Glance option. Here, it will show you the PHP version of your hosting.
Check the compatibility of PHP 7 with Plugins and themes
If the PHP version of your hosting is lower than the latest one and you want to upgrade to the latest PHP 7 then you should check the compatibility of PHP 7 with the themes and plugins that you have installed on your website. This step is not necessary but make sure to do it to be on the safer side.
You can check the compatibility of WordPress with your plugins and themes with the help of a plugin. It’s called PHP compatibility checker. Just download it by going to the Plugins section and searching for its name. After activating the plugin, select your PHP version and scan the plugins and the theme of your site by clicking on the Scan site option.
This was the complete procedure of checking the PHP version of your hosting. We also gave you a piece of basic information about PHP and its versions. If you found this tutorial to be useful then make sure to subscribe to our newsletter.
Also, if you have any sort of queries regarding PHP then you can drop them in the comments section below.