Now it is a php 7.2. Included in the Ubuntu 18.04.
My site is running on this platform. I also want to try to run the php Benchmark test, and see how fast it is.
--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2018-06-07 11:38:41
Server : webexample.win@50.116.5.237
PHP version : 7.2.5-0ubuntu0.18.04.1
Platform : Linux
--------------------------------------
test_ifelse : 0.159 sec.
test_loops : 0.249 sec.
test_stringmanipulation : 0.394 sec.
test_math : 0.284 sec.
--------------------------------------
Total time: : 1.086 sec.
I ran five times and the average time is 1.113 second.
Compare with the previous PHP.
- php 7.0, 2.342 seconds
- HHVM 5.6.99, 1.4 seconds
- php 5.5, 5.646 seconds
- php 5.4, 5.417 seconds
- php 5.3, 6.567 seconds
php 7.2 is so fast on the VPS.
- Ubuntu 18.04
- Linux 4.15.13-x86_64-linode106 on x86_64
- Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz, 1 cores
- 1GB Memory
- Nginx 1.14
- php7.2-fpm
As