Google uses page experience signals, including the Core Web Vitals, as part of how it ranks pages. Relevant, useful content still matters most, but when two pages are close, the faster one has the edge. Visitors notice too: slow pages lose people before they've read a word.
For any website built with PHP (WordPress, Joomla, Drupal, Magento, Laravel and most others), the PHP version is one of the cheapest speed improvements available. Every page has to be built by PHP before the browser receives anything, so a faster PHP means everything after it starts sooner.
PHP mostly affects LCP. The browser can't start drawing the page until the server has sent the HTML, and on a PHP site that time (the Time to First Byte, or TTFB) is largely PHP running your code and querying the database. A slow TTFB eats into the 2.5 second LCP budget before images, fonts or scripts have even started loading.
PHP 7.0 was a major rewrite of the PHP engine. Real-world applications such as WordPress commonly ran around twice as fast as on PHP 5.6, while using noticeably less memory. Each release since has continued to tune the engine, and PHP 8 added further optimisations along with a JIT compiler (JIT mainly helps heavy number-crunching rather than typical web pages, but the rest of the engine work benefits everyone).
The gain you see depends on your site. A small brochure site that is already cached may barely change. A busy shop, a membership site or a WordPress install with many plugins, where most pages are built fresh for each visitor, usually improves the most.
Faster PHP also means each page uses the server for less time. On shared hosting or a small server, that leaves more headroom when traffic spikes, so pages stay fast just when you have the most visitors.
Run your page through PageSpeed Insights. If your site has enough visitors it shows real-user Core Web Vitals data from Chrome users, as well as a lab test. In the lab results, look for the "Reduce initial server response time" audit, which appears when the server takes too long to send the HTML. If you see it, the server side (PHP version, caching, database, hosting) is part of your problem and is worth fixing first.
Our guide on how to measure and improve server response time goes through measuring TTFB step by step.
First check which PHP version your website runs. Then follow our PHP upgrade guide, and test your website on the newer version before switching the live site over.
Back to Web SEO & Security Articles