If you’re using a content management system such as WordPress, Drupal, or Joomla for your website, you should be aware of what versions of PHP your web hosting company is supporting—and this information is even more important if you’re a developer. It’s very important that you use the currently recommended version of PHP specified by your CMS.
Because PHP 7 has proven to provide superior performance, I’m pleased to report that all of the hosting companies we looked at are now providing at least PHP 7.0 support. And, PHP 7.2 is now available from some hosts!
How to Make Sure your WordPress Site is PHP 7 Compatible
While WordPress is now recommending PHP 7, you still should make sure that your site is compatible. With the new PHP Checker plugin, you can check your WordPress website to see if there are any issues with your website code, plugins, or themes. The PHP Checker Plugin is free to use. Just click the link below to download the plugin.
Here are the latest PHP recommendations as of April 2018
Version 7.2 or Higher
Drupal 8 – Version 7.1 or Higher
Version 7.0 and Above
Also keep in mind that for better security, using suPHP is recommended for content management systems like WordPress and Joomla. For example, with suPHP, WordPress is run with your account username and not the default shared username of the server.
Use the information below to see the current highest version of PHP that is supported by each web hosting company—and whether or not suPHP is available.
Web Hosting Company Highest PHP Versions as of April 2018
|Web Host||PHP Version||suPHP?|
|Web Hosting Hub||7.2||Yes|
It’s important here to note that although it’s usually preferable to have a higher version of PHP and utilization of suPHP, there are exceptions. For example, in some situations, there could be a compatibility issue with a higher version. And, although suPHP provides better security, there is the possibility of a performance issue. That being said, those web hosts offering a higher version of PHP should also allow you to run lower versions. And the security of suPHP often makes it a better option.
For content management system developers and users, the key is to make sure you know exactly which PHP versions your web host is offering and their utilization methods. That way, you’ll be less likely to run into any unpleasant surprises down the road.