2019 PHP Benchmarks – Why You Need PHP 7+

2019 is just around the corner, and with it comes Kinsta’s annual PHP benchmarking. You can check out their full post, or keep reading for a quick look at the stuff most important to WordPress or Laravel users.

What is PHP and How Does it Affect SEO?

PHP is the server language that powers popular platforms like WordPress and Laravel. Much like WordPress, it gets updates once in a while, but because it works in the background, most people don’t know how it works or if it’s up-to-date.

The latest PHP version is 7.3, but a lot of sites out there are running PHP 5.X (fun fact: there was no PHP 6). PHP 5.6 was the latest PHP 5 release, and as of 2019, it’s end-of-life, unsupported, done! If it has a big security hole discovered, no one is going to fix it! Today, your website should be running PHP 7 or higher to continue getting security fixes.

But security is a hard sell. So let’s talk performance, which directly impacts your Google ranking. That’s right, a faster website is great for SEO. Google directly considers website speed for its rankings.

TL;DR: Updated PHP means maximum performance and security, which directly results in better SEO.

WordPress PHP Support

WordPress is notoriously forgiving of outdated versions of PHP, and shared hosting providers like GoDaddy, for the most part, aren’t helping by proactively updating for their clients.

This is a shame, because updated PHP results in huge gains for WordPress sites. Let’s take a look.

WordPress PHP Benchmark Results

WordPress 5.0 PHP benchmarks
Img src: Kinsta

On a clean WordPress 5 install running PHP 5.6, Kinsta’s test server could respond to to about 90 requests/second. For a lot of websites, that’s more traffic than they probably receive, but is a reflection of overall response time, which Google considers when crawling your website.

Upgrading to PHP 7 more than doubles this number to 205, while PHP 7.3 gets us even higher, supporting 250 requests/second. That’s an incredible improvement, and Google WILL notice when ranking your site.

Similar findings held true for other content management systems (CMS) like Drupal and Joomla, though both prove slower than WordPress. Sterner Stuff focuses on WordPress for CMS projects, but can advise on other platforms.

Did you know? Sterner Stuff’s managed WordPress clients are all running PHP 7.2 or higher! They didn’t even have to ask 😉 You can find our more about our managed WordPress hosting here.

Laravel PHP Benchmarks

When building custom software and applications for our clients, Sterner Stuff loves to rely on Laravel, a great PHP framework that let’s us focus on implementing business logic rather than the same-old same-old basic features all our projects need.

Kinsta measured Laravel performance, too. It’s technical enough that you’re less likely to see projects out in the wild running it on old versions of PHP, but still worth mentioning!

Laravel 5.4 was the last version to support PHP 5.6. The Kinsta team tested it on the new PHP versions and found the following:

Laravel 5.4.36 PHP benchmarks
Img src: Kinsta

PHP 5.6 handled 340 requests/second, while PHP 7.3 cranked things up to 717. Woah.

The latest Laravel version, 5.7, requires a minimum of PHP 7.1, but even from PHP 7.1 to 7.3, requests/second jumped from 542 to 621. Nothing to shake a stick at.

The Takeaway

Somewhere in all these numbers and tech jargon is an important fact: Your website should be running the latest versions of PHP for maximum performance and security, plus an easy win pushing your website up Google’s search rankings.


8 responses to “2019 PHP Benchmarks – Why You Need PHP 7+”

  1. Thanks for this! I’m a GoDaddy user and upgrading to the latest version requires I change over to their new cpanel version. I tried GoDaddy’s automated tool to do it and it didn’t work – the agent advised me that I’d have to find a plug-in to help but I’m very intimidated to do the migration myself. Any tips?

    1. Ethan Clevenger Avatar
      Ethan Clevenger

      Doesn’t sound like very helpful information from the agent. Reach out to [email protected] and we can get more in depth with your specific issue!

  2. Is their any system to automatic PHP version update for WordPress?

    1. Ethan Clevenger Avatar
      Ethan Clevenger

      Not to my knowledge, but if you come across something, I’d love to hear about it! In general, if your plugins and theme are supported and you update everything, you should be golden. But always take a backup before running updates, and consult a dev if needed.

  3. Bear in mind that, even though the latest PHP 7.3 has significant improvement over their predecessor, some user still using older WordPress 4.XX which does not support PHP version higher than 7.1, this may result in some incompatible issue in code.

    1. Ethan Clevenger Avatar
      Ethan Clevenger

      Yep, but those users should make upgrading to a supported version of WordPress their #1 priority to ensure the security and reliability of their site.

  4. this is great guideline. i recently updated my wp PHP to 7.3 and it is beginning to do better.

  5. This blog is old but still effective. We recently updated our version.

    It’s really working great for our SEO.

Leave a Reply

Your email address will not be published. Required fields are marked *