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.
PHP version 8.0 has now been released and is available from some of the web hosting companies listed below. Please note that some applications may not yet be compatible with PHP 8.0. Iniitially, WordPress advised proceeding in a beta mode when using PHP 8.0. WordPress has since released update versions, however I would still be careful for now.
The number of web hosts supporting PHP 8.0 continues to grow, although the increase in hosting companies offering version 8.0 has slowed down somewhat. A number of the managed WordPress hosting companies are holding off on 8.0 for now and continue to support 7.4.
Please note that the version support listed for each web host below is for new hosting accounts. Some current or legacy accounts may not yet be updated to the latest PHP version.
Here are the latest PHP recommendations as of October 2021
Version 7.4 or Higher
Drupal 8 – Version 7.4 or Higher
Version 8.0 and Above
Web Hosting Company Highest PHP Versions as of October 2021
|Web Host||PHP Version|
|Web Hosting Hub||8.0|
It’s important here to note that although it’s usually preferable to have a higher version of PHP, there are exceptions. For example, in some situations, there could be a compatibility issue with a higher version.
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.