ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

The difference between the latest version of PHP CentOS and Ubuntu/Debian are

Wednesday on February 5th, 2020Net Web

Recently developed a key PHP installation environment, the need to test all systems. Ubuntu 16/18/19, after installation Debian 8/9 PPA, is the highest version of PHP PHP 7.4. CentOS 6/7 install third-party software source epel-release, the highest version PHP for PHP 7.3.

tested, PHP execution speed 7.4 to about PHP 1.8 to 2 times 7.3; execution speed of the PHP 7.4 is about PHP 10 times 5.3; execution speed of the PHP 7.4 is about 5 times more PHP 5.5 is, PHP speed 7.0,7.1,7.2,7.3 little difference.

Ubuntu 12/14, Debian 7, CentOS 5, have been unable to install PHP 7. These older systems comes PHP 5.1 ~ 5.3, PHP speed is about 7.4 PHP 10 ~ 10 5.1 ~ 5.3 times. Although the speed of execution vary greatly, but the difference in speed Web access is not a small flow (may be very different when high concurrency), the bottleneck is the main page of the network line.

Of course, if qualified, can go to PHP 7.4 platform as much as possible. All my pages are about to be 7.4 platform, before Web pages are written in PHP 5, PHP 7 rewrite grammar, has now completed more than 60%.

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/The-difference-between-the-latest-version-of-PHP-CentOS-and-Ubuntu-Debian-are.htm