Time to upgrade to PHP 7.2


#1

A gentle reminder that we are only 2.5 months away from when support for PHP 5.6 will end.

Taking this date into account, it is probably sad that close to 80% of all PHP sites are still on PHP 5.6 and older (with 7.x having been around for three years).

https://w3techs.com/technologies/details/pl-php/all/all

So a) please, please upgrade to 7 if you havent yet. Nobody (including you) wants yet another compromised machine.
And b) with 7.3 being around the corner please, please upgrade to 7.2 or at least 7.1 and not 7.0. The latter will be out of support even a month earlier than 5.6.

c) If you dont have control over your PHP installation bug your host until he finally upgrades his systems or - if not - switch hosts.

d) Yes, some OS vendors will still issue security fixes if one of their still-supported versions came with PHP 5 but that has an expiration date too.

e) Dont forget to upgrade :wink:


#2

+1 totally agree. PHP 7.x is 2x times faster than PHP 5.6 so just that alone is worth upgrading for :slight_smile: A faster origin server means faster Cloudflare to origin communication. Which equates to a faster site too :sunglasses:

I did some quick benchmarks for PHP 7.2 vs 7.1 vs 7.0 vs 5.6 way back when I was tracking PHP 7.2 alpha/beta performance for my Centmin Mod LEMP stack’s PHP-FPM builds at https://community.centminmod.com/threads/php-7-2-0-ga-stable-vs-php-7-1-12-vs-7-0-26-vs-5-6-32-benchmarks.13590/#post-57672


#4

7.3 is available and 7.0 is out of support with version 5 following in three weeks. So for whomever hasnt done it yet, it is time to welcome 7.2 at least ( better yet 7.3).

Performance comparison of 7.3: https://www.phoronix.com/scan.php?page=news_item&px=PHP-7.3-Performance-Benchmarks


#6

Yup PHP 7.3 is out now speedy my benchmarks https://community.centminmod.com/threads/php-7-3-vs-7-2-vs-7-1-vs-7-0-php-fpm-benchmarks.16090/

including wordpress 5.0 benchmarks

FYI, PGO = Profile Guided Optimizations which can train PHP to execute more optimal code paths for specific web apps i.e. Wordpress performance.


#7

You should show a benchmark to the other popular 5.x versions :laughing:

For me it is mostly the security and support status, people are still on 5ish versions.