PHP 8.2 Loses Security Fixes on December 31. An Analysis Says 53% of WordPress Sites Will Then Run Unsupported PHP. Here Is the Check I'd Run on Every Client Site.
PHP 8.2 reaches end of life on December 31, 2026. After that date the PHP project ships no more security fixes for it. An analysis published on November 28 by Adam Greenough, built on WordPress.org's own version statistics, puts 22.1% of WordPress sites on 8.2 and another 31% on versions that are already unsupported. If nobody upgrades in the next month, 53% of WordPress sites start 2027 on PHP that upstream has stopped fixing.
Greenough calls that a worst case and not a forecast, and he is right to. The share on 8.2 or older dropped about 2.4 points in November alone. But if you maintain client sites, the average doesn't matter. What matters is which of your sites are in the 53%.
The numbers
From the WordPress.org PHP statistics as checked on November 28:
- PHP 8.3 is the most common version at 28.3%
- PHP 8.2 follows at 22.1%
- PHP 7.4 still runs 13.9% of sites, more than PHP 8.4 at 11.3%
- PHP 8.5 is at 7.1%, and 8.6, released November 19, is at 0.1%
PHP 7.4 stopped receiving fixes on November 28, 2022. Four years later it is on roughly one WordPress site in seven. WordPress itself still lists 7.4 as its minimum and recommends 8.3 or newer.
"My host patches it" is sometimes true
End of life at php.net does not always mean unpatched. Ubuntu, Debian and CloudLinux backport security fixes into older PHP builds, and several hosts run those builds. According to the analysis, Kinsta keeps 7.4 and 8.0 going at no charge, IONOS UK sells extended support for 7.4 and 8.0 at £15.62 a month, and WP Engine runs automatic upgrades that cannot be deferred.
The problem is that you usually can't tell from the dashboard which situation you are in. A site showing "PHP 7.4" on a managed host with backported fixes is in decent shape. The same string on a cheap shared plan or a VPS someone set up in 2021 may mean no fixes since 2022. This year made the difference concrete. When the PHP project fixed two critical bugs on October 21, it shipped releases for 8.2 through 8.5 and source-only patches for 7.4, 8.0 and 8.1. A later batch on November 19 had official fixes only for 8.2 through 8.5.
So ask your host one question in writing: which PHP versions do you still apply security patches to, and until when? If the answer is vague, assume none.
Plugins are closing the door from the other side
Even a patched old PHP stops being comfortable once plugins move on. The analysis looked at the top 1,000 plugins in the WordPress.org directory and found most still accept 7.4 or older. The big ones are starting to leave:
- Contact Form 7, which runs on more than 10 million sites, raised its minimum from 7.4 to 8.3 in version 6.2 in October. Several reviews say an automatic update took their sites down.
- WooCommerce 11.6, due in February 2027, needs PHP 8.1. Shops on 7.4 or 8.0 stay on 11.5, which only gets fixes for severe vulnerabilities.
A site on old PHP with automatic plugin updates turned on can break on a random Tuesday without you touching it.
The 20-minute check
For each site, find the real version first. In wp-admin it is under Tools, Site Health, Info, Server. With WP-CLI over SSH:
wp cli info | grep "PHP version" wp core version wp plugin list --update=available --format=table
Then sort every site into one of three piles.
8.3 or newer. Nothing to do. 8.3 gets security fixes until December 31, 2027.
8.2. Upgrade to 8.3 or 8.4 before the end of December. This is a small jump and most sites pass without changes.
8.1 or older. Plan the upgrade as a small project, because the jump from 7.4 crosses the PHP 8.0 breaking changes and old themes are where it hurts.
The upgrade routine I'd follow is the same for all of them:
- Take a full backup and confirm you can restore it.
- Clone the site to staging. Most managed hosts have a button for this.
- Update WordPress core, plugins and the theme on staging while still on the old PHP.
- Switch staging to the target PHP version and turn on
WP_DEBUG_LOG. - Click through the pages that earn money: checkout, forms, login, search. Read
wp-content/debug.logafterward. - Replace or remove any plugin that throws fatal errors and has not been updated in two years.
- Switch production during a quiet hour and keep the host's PHP selector open in another tab so you can roll back in one click.
What you get besides safety
Greenough treats speed as a bonus and not a reason, and the Kinsta benchmarks he cites back that up for plain WordPress: 139.1 requests per second on 7.4 against 146.1 on 8.2, about 5%. WooCommerce is another matter, at 44.2 on 7.4 and 54.7 on 8.2, roughly 24% more. For a shop, the upgrade pays for itself in server headroom.
Where this could be wrong
The 53% figure counts sites reporting to WordPress.org, and it treats host-patched PHP the same as abandoned PHP. The real number of exposed sites is lower, and nobody knows by how much. If your host is one of the careful ones, staying on 8.2 into January is a reasonable way to buy time. I would not let it turn into a place to stay.
What I'd actually do
I'd spend one evening this week listing every WordPress site I am responsible for with its PHP version, host and last plugin update. I'd move the 8.2 sites in December, since that takes minutes each. For anything on 7.4, I'd email the client now with a fixed-price upgrade quote and the Contact Form 7 story as the reason, because the alternative is doing the same work unpaid at midnight after an automatic update breaks the site.
Author
Lukas
@lukcombinator