Case studies / PHP upgrade and site speed

WordPress performance and PHP upgrade

Off PHP 7.4 and onto a faster site, without changing a single pixel

A home-improvement contractor was stuck on an unsupported PHP version because their custom theme was too old to move. We upgraded the stack, proved nothing visible changed, then went after the speed problems that were costing them in search.

Client
Home-improvement contractor, Ohio, US
Platform
WordPress, Genesis, WP Engine, Cloudflare
Engagement
Two fixed-price projects
Services
PHP upgrade, performance, cleanup
7.4 to 8.4
PHP upgraded, with page output verified identical across nine page types
Failing to ~0
Layout shift, the one Core Web Vital Google was marking the site down for
24 to 1
Stylesheets loading before first paint. Mobile load time more than halved

The situation

The site ran on WP Engine, which was ready to move to a current PHP version. The business was not. Its custom Genesis child theme dated from 2019 and the owners were unsure it would survive the jump, so the whole site was pinned to PHP 7.4: no longer supported, increasingly incompatible with plugin updates, and a growing security exposure.

The brief was clear about one thing. They liked their site and did not want it to look or behave any differently afterwards.

Phase 1: the upgrade, proven rather than promised

We started on a fresh staging copy and recorded a full baseline of how every page type looked and behaved before touching anything. That baseline is what made the rest of the job verifiable.

  • Moved the site from PHP 7.4 to PHP 8.4, the current release.
  • Brought Genesis from version 2.10.1, released in 2019, up to 3.6.2. This was the risky part, because newer Genesis changes how pages are assembled.
  • Replaced an aging contact form setup with WPForms feeding the client's SuiteCRM, and ran test submissions with the client watching for them to arrive.
  • Removed an unused testimonials plugin after confirming the home page slider was built from theme fields, not from the plugin.

Then we compared the rendered page code across nine different page types, before and after. It came out identical, byte for byte, on all nine. Site search returned the same results for the same queries. That is the difference between telling a client nothing changed and showing them.

Found along the way: two files in the site root printed the server's configuration, file paths and software versions to anyone who knew the address. Not an emergency, but they made the site easier to attack and had no reason to exist. We removed them and flagged an old database backup sitting in the same place.

Phase 2: why the site was slow

With the upgrade done, the client asked us to sort out their pile of optimisation plugins and make the CDN pull its weight. The real problems were not where anyone was looking.

The failing Core Web Vital

Pages jumped around while loading, and that layout shift was the one metric Google was failing the site on. The cause was two fonts arriving late and shifting the menu, which pushed everything below it down the page. Fixing it took layout shift from failing to effectively zero on desktop and mobile, and the same fix made mobile pages noticeably faster.

A paid caching tool that had not worked for a long time

The site was paying for WP Rocket, but its optimisation service was being turned away by a firewall rule every time it tried to read a page. So instead of one optimised stylesheet, every page loaded 24 separate style files before anything could appear. Once the rule was corrected, WP Rocket did its job: one optimised block, and pages started showing far sooner.

Plugins working against the site

We removed five plugins. One had switched off the browser's built-in image lazy loading and put nothing in its place. Another threw an error on every page load for a shopping cart the site did not have. We also cleared 143 leftover database records from plugins uninstalled years earlier and removed two stylesheets loading sitewide for features nobody used. Every form on the site was tested after each change.

Results

  • PHP 8.4 and current Genesis, with no visible change anywhere on the site.
  • Layout shift fixed: from failing to effectively zero.
  • Mobile pages loading in less than half the time, and first paint around five times faster.
  • 24 render-blocking stylesheets consolidated to one, with the existing caching tool finally doing what it was paid for.
  • Firewall protection restored at the end, so speed did not come at the cost of security.

"He helped update an old custom Genesis Child Theme to the latest version and ensure compatibility with PHP 8.4. Along the way, he discovered several other problems that he fixed at no cost. He exceeded my expectations in every way."

Don K., the client, review via Codeable

What else the audit surfaced

An Elementor review that was expected to cover about 25 pages turned out to need just four, because the rest only carried leftover markers. And around 30 posts had embedded videos that no longer played, because the service hosting them had shut down. Neither was in the brief. Both were handed to the client as a clear list so their team could act on them.

Client name and site withheld at our discretion. Figures are taken from the project record. The two client reviews quoted on this site are public on Nirmal's Codeable profile.

Let’s Make It Happen

Request a quote
© Magnigeeks - All Right Reserved 2025

Start Building Today

What Do You Want to Build?

A plugin? A SaaS MVP? A WooCommerce system? An AI-powered feature? Tell us your idea. We'll help you figure out the way to build it.

No hard selling. No confusing technical talk. Just honest guidance from a senior development team.

Need a quote?

Tell us what you need. A developer, not a salesperson, replies within one business day with questions or a fixed price.

RATED 4.95 / 5

on Codeable

788 projects, 361 clients

We're looking for the opportunity
to work with you

Get Started
Expert Business Digital Services with 24/7 availability,
and customizable solutions on a secure
cloud platform.
MagniGeeks Technologies PVT LTD.    
211, Second Floor, District Center, 
BBSR, ODISHA, INDIA-751016 

( India ) +91 6371 232 567
                                                                                                                           
FOLLOW US

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram