This blog has been re-posted and edited with permission from Dries Buytaert’s blog. Please leave your comments on the original post.
If you are still using PHP 5, now is the time to upgrade to a newer version of PHP.
PHP, the Open Source scripting language, is used by nearly 80 percent of the world’s websites.
According to W3Techs, around 61 percent of all websites on the internet still use PHP 5, a version of PHP that was first released fourteen years ago.
Now is the time to give PHP 5 some attention. In less than two months, on December 31st, security support for PHP 5 will officially cease. (Note: Some Linux distributions, such as Debian Long Term Support distributions, will still try to backport security fixes.)
If you haven’t already, now is the time to make sure your site is running an updated and supported version of PHP.
Beyond security considerations, sites that are running on older versions of PHP are missing out on the significant performance improvements that come with the newer versions.
Drupal and PHP 5
Drupal 8 will drop support for PHP 5 on March 6, 2019. We recommend updating to at least PHP 7.1 if possible, and ideally PHP 7.2, which is supported as of Drupal 8.5 (which was released March, 2018). Drupal 8.7 (to be released in May, 2019) will support PHP 7.3, and we may backport PHP 7.3 support to Drupal 8.6 in the coming months as well.
Drupal 7 will drop support for older versions of PHP 5 on December 31st, but will continue to support PHP 5.6 as long there are one or more third-party organizations providing reliable, extended security support for PHP 5.
Earlier today, we released Drupal 7.61 which now supports PHP 7.2. This should make upgrades from PHP 5 easier. Drupal 7’s support for PHP 7.3 is being worked on but we don’t know yet when it will be available.
It’s a credit to the PHP community that they have maintained PHP 5 for fourteen years. But that can’t go on forever. It’s time to move on from PHP 5 and upgrade to a newer version so that we can all innovate faster.
I’d also like to thank the Drupal community — both those contributing to Drupal 7 and Drupal 8 — for keeping Drupal compatible with the newest versions of PHP. That certainly helps make PHP upgrades easier.