If you are trying to pick the best PHP version for WordPress in 2026, here is the short answer: run PHP 8.3. It is fast, it is stable, and nearly every plugin and theme worth using has caught up to it. PHP 8.4 is the newest release and it is a fine choice once you have confirmed your plugins support it, but 8.3 is the version we put most sites on today because it hits the sweet spot between speed and compatibility.
If your site is still on PHP 7.4 or 8.0, you are leaving real performance on the table and running code that no longer gets security fixes. This guide covers which version to run, what WooCommerce needs, the actual speed numbers, and how to upgrade without taking your site down.
The quick answer by version
| PHP version | Status in 2026 | Should you run it? |
|---|---|---|
| 7.4 and older | End of life, no security support | No. Upgrade as soon as possible |
| 8.0 / 8.1 | Security fixes ending or ended | Only as a stepping stone |
| 8.2 | Supported, widely compatible | Safe fallback if a plugin blocks 8.3 |
| 8.3 | Supported, fast, broad plugin support | Yes. Best choice for most sites |
| 8.4 | Newest, actively supported | Yes, once your plugins confirm support |
WordPress core itself runs happily on everything from 7.4 up to 8.4. The version you land on comes down to your plugins, your theme, and for stores, your WooCommerce build.
What WooCommerce needs in 2026
WooCommerce is stricter than WordPress core, and for good reason. A checkout that breaks costs you money in a way a broken blog post never will.
Current WooCommerce releases require PHP 8.1 as the floor and recommend PHP 8.2 or higher. In practice that means you should not be running a store on anything below 8.1, and 8.3 is the version we recommend for stores that want the performance headroom without living on the bleeding edge.
If you run a busy store, PHP version is only one piece of the speed puzzle. The server stack, object caching, and how the host handles traffic spikes matter just as much. We go deeper on that in our guide to hosting a high-traffic WooCommerce store.
The speed story: why the upgrade is worth it
PHP upgrades are not a cosmetic version bump. Each major release has made the language meaningfully faster, and WordPress benefits directly because every page load runs PHP.
Moving a site from PHP 7.4 to 8.4 delivers roughly:
- 7% more requests per second for a standard WordPress site
- 21% more requests per second for WooCommerce
That WooCommerce number is the one to sit with. A 21% throughput gain means your store serves more shoppers on the same server before anything slows down, which matters most on the exact days you cannot afford to be slow: launches, sales, and traffic spikes. Faster PHP also trims your server response time, which is the metric Google watches and the one your visitors feel first.
If you are chasing WooCommerce speed specifically, pair your PHP upgrade with the tuning we cover in speeding up WooCommerce with HPOS.
What about PHP 8.4 compatibility?
PHP 8.4 is the newest stable release and it is a good, forward-looking choice. WordPress core supports it. The catch is the same as every new PHP release: your site is only as compatible as its least-updated plugin.
The usual culprits are:
- Older or abandoned plugins that have not been touched in a year or more
- Custom theme code written for PHP 7.x
- Niche or premium plugins that are slow to certify each new PHP version
None of that means you should avoid 8.4. It means you should test before you switch, not after. A plugin that throws a fatal error on 8.4 will take your site down if you flip the version in production and hope for the best. That is the whole reason the upgrade needs a safe path, which is the next section.
How to upgrade PHP without breaking your site
Here is the process we follow for every site we move up a PHP version. You can do the same thing on your own host, though some of these steps are manual work that a managed host should be handling for you.
- Take a full backup first. Files and database. If anything goes wrong, you want a clean restore point, not a scramble.
- Update everything. Get WordPress core, your theme, and every plugin current. Most compatibility problems disappear the moment outdated code is updated.
- Test in staging, not production. Copy the live site to a staging environment and switch the PHP version there. Click through the important paths: checkout, contact forms, admin, any custom functionality.
- Watch the error logs. A fatal error or a flood of deprecation warnings tells you exactly which plugin is not ready. Fix or replace it before you go near the live site.
- Switch the live version, then verify. Once staging is clean, change the production PHP version and immediately test the same critical paths again.
- Keep a rollback ready. If a problem surfaces after the switch, you want to drop back to the previous version in seconds, not spend an afternoon debugging a live store.
That process is safe, but it is also fiddly, and most site owners never do it because it feels risky. So they sit on PHP 7.4 for years, slower and less secure than they need to be. That is the problem a managed host is supposed to solve.
How Forge handles PHP upgrades for you
At Forge Web Services, PHP upgrades are our job, not yours.
Every Forge client runs on their own dedicated server, not a shared box. Because the server is yours alone, we can set the exact PHP version your site needs and test the upgrade in a staging environment before we touch anything live. If a plugin misbehaves on the new version, we roll back in seconds and sort out the offending plugin before trying again. You never see a broken checkout.
We also do not wait for you to ask. Our proactive monitoring flags sites running outdated PHP, and we coordinate the upgrade with you rather than leaving you to figure out the timing and the risk on your own. You get the speed and the security without the homework.
That approach is part of a bigger point we make often: the cheapest hosting is rarely the cheapest once you count the hours you spend managing it and the sales you lose to a slow or broken site. We break that math down in our guide to the total cost of ownership of WordPress hosting.
Bottom line
For 2026, run PHP 8.3 for most WordPress and WooCommerce sites, and move to 8.4 once your plugins confirm support. Do not stay on 7.4 or 8.0. The upgrade is worth a 7% speed gain on WordPress and 21% on WooCommerce, and the only real risk is an outdated plugin you can catch in staging.
If you would rather not manage any of this yourself, that is exactly what we do. Every Forge plan puts your site on a dedicated server we keep fast, current, and secure, with staging and rollback built in. Plans start at $39/mo.

