WordPress runs fastest on PHP 7

PHP 7 came with drastically improved performance when compared to PHP 5.6. Zend Technologies, the engine behind PHP, ran performance tests on a variety of PHP applications to compare the performance of PHP 7 vs PHP 5.6. These tests compared requests per second across the two versions of the popular scripting language. This relates to the speed at which code is executed, and how fast queries to the database and server are returned.

WordPress

WordPress is the world’s most popular content management systems (CMS) (approximately 57% of all CMS on the Internet) and runs on PHP. These applications are used for personal or corporate blogs and websites.

A single WordPress request on PHP 5.6 executes around 100 million CPU instructions, whereas PHP 7 executes the same request with only 25 million CPU instructions.

The performance of WordPress 3.6 on PHP 7 was improved significantly compared to WordPress on PHP 5.6, with 112% more requests per second on PHP 7. And WordPress 4.1 executed 95% more requests per second on PHP 7 compared to PHP 5.6.

This means WordPress websites that load twice as fast, and happier end users.