How To Check PHP Version Of Hosting From WordPress Dashboard

Anyone who is using the WordPress platform for their blog or website is already using PHP.
Chances are good that you may never need to learn anything about PHP because everything happens at the backend. With the help of plugins (which all use PHP), we can add functionalities to WordPress without editing a single line of code.

In December 2015, PHP version 7 was launched, and if you paid attention, you noticed that almost all the popular WordPress hosting companies (like SiteGround, Bluehost, etc.) switched to PHP 7.
As an end-user, the PHP version really matters as it can speed up your blog by a considerable amount.
In this article, you will learn a bit about PHP & how to check the PHP version of your hosting.
This is useful even for non-technical users as it will help you improve the overall performance of your WordPress blog.
Also, if you are planning to switch hosting in the coming days, making sure you have a compatible PHP version is going to be another deciding feature for your purchase.
Before the launch of PHP 7, almost all hosting companies were using PHP version 5.6 or earlier. In fact, chances are that right now your WordPress blog is on a hosting that is offering PHP 5.6.
But PHP 7 is a considerable performance improvement over PHP 5.6.
According to tests, PHP 7 makes your pages load in almost half the time.
This can clearly be seen in a test done by Kinsta hosting, where they used dummy content from wptest.io and benchmarked the home page for a minute with 15 concurrent users.
PHP 7 pages load PHP 7 Pages load time
  • WordPress 4.3.1 HHVM RepoAuthoritative benchmark result: 375.48 trans/sec
  • WordPress 4.3.1 HHVM benchmark result: 357.69 trans/sec
  • WordPress 4.3.1 PHP 7.0 benchmark result: 306.24 trans/sec
  • WordPress 4.3.1 PHP 5.6.16 benchmark result: 106.45 trans/sec
Similar results were found when using other CMSs like Drupal, Magento, and others.
In a nutshell, if your hosting offers you the option to use the latest version of PHP, you should switch to PHP 7.
I will be writing a guide on how to switch the PHP version on different hostings in the coming days, but for now, here’s what you need to figure out:
  • What version of PHP are you running your WordPress blog on?

How To Find Out The PHP Version Of Your WordPress Site

There is a simple plug & play plugin that shows you the current PHP version your web hosting is running WordPress on.
You can search for “Display PHP Version” from the WordPress dashboard & install the plugin. Here is the official download link.
Once you have this plugin activated, simply go to the WordPress dashboard & you will be able to see the version of PHP under the “At a glance” section.
WordPress dashboard
In the above screenshot, we’re looking at a test blog hosted on Bluehost hosting which is currently running on PHP version 5.6.29.
Using the same plugin, you can find the PHP version of any web hosting that you are using.
From here, the next step is to switch the PHP version to PHP 7. However, before you do that, one thing you need to ensure is that your plugins & themes are compatible with PHP 7.
If not, your site might break.
If you are using plugins & themes that are regularly updated, you will have no compatibility issues. But if your site breaks, you don’t need to worry as you can always downgrade your PHP version with a few clicks (and your site should already be backed up).
As I said, this may or may not happen, so your best bet is to switch your hosting PHP version to PHP 7 & hope it works.

PHP Compatibility Checker WordPress Plugin

If you want to take the guess work out of the equation, you can use the PHP Compatibility Checker WordPress plugin which was developed by the guys from WPEngine (Managed WordPress Hosting).
PHP Compatibility Checker
After downloading, you can use the plugin by going to Tools > Compatibility & configuring it with the below settings.
PHP Compatibility
Click on Scan site & it will display the results within minutes.
Here is what I got when I used the PHP 7 compatibility checker WordPress plugin:
PHP 7 compatibility checker WordPress plugin
This means that all of my plugins are compatible with PHP 7 & I can upgrade my PHP version.
You can run the same test on your site and see if all of your plugins & themes are compatible. If anything is not compatible, you should consider dropping it before changing to PHP 7.
Conclusion
PHP 7 offers considerable speed improvements over its predecessor. If your hosting offers the feature to use PHP 7 AND your WordPress plugins/themes are compatible, you should definitely upgrade.
Make sure to run a speed test before & after to notice the difference in speed & overall performance.
ShoutMeLoud is hosted on Kinsta hosting & we have already been using PHP 7 for the past few months. What hosting are you using, and what PHP version is your WordPress blog running on? Let us know in the comments section below!
Like this post? Share it with your friends!
How To Check PHP Version Of Hosting From WordPress Dashboard How To Check PHP Version Of Hosting From WordPress Dashboard Reviewed by ashu on June 29, 2017 Rating: 5

No comments:

ads
Powered by Blogger.