PHP 7.0 Runtime Now Available

PHP 7 is up to twice as fast as PHP 5.6. It’s a major performance improvement over all previous version of PHP, and also adds a some syntax goodies, bug fixes and small enhancements. We’re making PHP 7.0.0 available on demand to all Pressjitsu hosting customers.

WordPress Performance with PHP 7
WordPress Performance with PHP 7

We’ve been testing the beta releases of PHP 7.0 for a couple of months now and we’re glad to say that WordPress works really well under the new runtime. Our benchmarks indicate an average of 2-3x improvement in non-cached page generation time and much less memory consumption.

Extensions

Of course there’s a catch. Not all third-party extensions are ready for PHP 7 yet. Most notably are the XHProf and ImageMagick extensions, which we use heavily with WordPress on Pressjitsu.

We’ve successfully replaced ImageMagick with the the core-bundled GD imaging extension which is also supported by WordPress, but we haven’t found a good and lightweight alternative for profiling in production yet (update: we did!).

WordPress

Although the core WordPress software works perfectly fine under the PHP 7 runtime (with the exception of a few notices) we can’t vouch for any third-party WordPress plugins, especially those that don’t follow the WordPress development best practices.

If you’d like to learn more about the story behind PHP 7, take a look at this video by Zeev Suraski from WordCamp Europe 2015.

If you’d like to give PHP 7.0 a spin on your Pressjitsu server, simply open a support request and we’ll help you make the switch, and revert back quickly in case something goes terribly wrong.