Back Original

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan

Over half of all self-hosted WordPress sites are running a version of PHP that will be out of official support by January. About a third are already on versions the PHP project has stopped fixing,1 and PHP 8.2, the second most popular version, joins them when its support ends on 31 December.2 It has been a lot worse, though, as just after PHP 7.4 reached end of life in 2022 the figure was closer to nine in ten.3

The best public figures are WordPress.org's own, so I've gone through them back to 2015, along with how hosts and Linux distributions handled October's PHP2Shell bugs on old versions and which PHP versions the 1,000 most popular plugins now ask for.

31%

of WordPress sites run a PHP version the PHP project no longer fixes

53%

are on PHP that will be out of official support by 1 January

14%

are still on PHP 7.4, which the PHP project stopped fixing on 28 November 2022

5 of 5

times WordPress has raised its minimum PHP version since 2011, the new minimum was already past end of life

Source: WordPress.org PHP version statistics, php.net end-of-life dates and WordPress release notes, checked 28 November 2026

Which PHP versions are WordPress sites running?

PHP 8.3 and 8.2 lead comfortably, and in third place PHP 7.4 is still on 14% of WordPress sites four years after the PHP project stopped fixing it, which is more than PHP 8.4, even though 8.4 has been out for two years.2

Share of WordPress sites on each PHP version

Share of WordPress sites on each PHP version
5.x and older1.9%
7.00.5%
7.10.3%
7.21.2%
7.31.2%
7.413.9%
8.03.2%
8.18.8%
8.222.1%
8.328.3%
8.411.3%
8.57.1%
8.60.1%
Source: WordPress.org PHP version statistics, checked 28 November 2026

These are shares of sites rather than visitors, so a parked or forgotten site that nobody visits counts the same as a busy shop, and I'd guess a lot of the old versions are on sites like that. PHP 8.6 only came out on 19 November, so it's barely registering yet.4

When each version stops getting official fixes

The PHP project gives each version two years of normal bug fixes, then two more years of security fixes only.2 After that, in PHP's own words, users "may be exposed to unpatched security vulnerabilities".

How long each PHP version gets official fixes, and how many WordPress sites still use it

53% of today's WordPress sites would be past official support on 1 January 2027 if none of them upgraded

How long each PHP version gets official fixes, and how many WordPress sites still use it
NameStartOfficial bug and security fixes untilEndsNote
7.428 Nov 201928 Nov 202128 Nov 2022 (ended)13.9% of sites
8.026 Nov 202026 Nov 202226 Nov 2023 (ended)3.2% of sites
8.125 Nov 202125 Nov 202331 Dec 2025 (ended)8.8% of sites
8.28 Dec 202231 Dec 202431 Dec 202622.1% of sites
8.323 Nov 202331 Dec 202531 Dec 202728.3% of sites
8.421 Nov 202431 Dec 202631 Dec 202811.3% of sites
8.520 Nov 202531 Dec 202731 Dec 20297.1% of sites
8.619 Nov 202631 Dec 202831 Dec 20300.1% of sites
Source: php.net release dates and supported and unsupported branches, WordPress.org PHP version statistics, checked 28 November 2026. Before PHP 8.2, normal fixes ran for two years from release

If nobody upgraded at all, more than half of WordPress sites would be past official support on 1 January, and four in five a year later when PHP 8.3 runs out too. People do upgrade, of course, and the share on 8.2 or older has fallen about 2.4 points since 2 November, so at that pace it'd be nearer 50% than 53% by 1 January.

October: PHP2Shell and an exception for old PHP

On 21 October the PHP project fixed two critical bugs, together known as PHP2Shell, that could let someone run their own code on a server without logging in.5 Details had leaked the day before,6 and it was serious enough that government sites in several European countries were taken offline as a precaution.7 I covered it at the time in that week's This week in WordPress.

The official fixes were for PHP 8.2 to 8.5, but the PHP project also made an exception for older versions: "Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1".5

Ubuntu went further, fixing every PHP version it supports back to 5.5 on Ubuntu 14.04,8 and CloudLinux, which makes an operating system for shared hosting, fixed all 16 versions its customers use, from 5.2 to 8.5.9 Its reasoning is that a shared server holds hundreds of sites, each pinned to the PHP version it was built for, and forcing them all onto a new one would break some of them.

PHP2Shell, day by day

    • Attacks and alerts: Amazon's honeypots, decoy servers set up to catch attackers, spot the first attempt to use the bugs, four days before they're made public.
    • Attacks and alerts: Details of the bugs leak online, two days before they were due to be announced.
    • PHP 8.2 to 8.5: The PHP project warns that an urgent security update is coming, and brings it forward to the next day because of the leak.
    • Attacks and alerts: Attacks pick up before any fix is out, and some government, school and hospital sites in Europe are taken offline as a precaution.
    • PHP 8.2 to 8.5: Fixed versions of PHP 8.2, 8.3, 8.4 and 8.5 come out.
    • PHP 7.4 to 8.1: The PHP project also publishes patches for 7.4, 8.0 and 8.1, but hosts and Linux distributions have to build and install them themselves.
    • Linux distributions: Ubuntu and Red Hat put out fixes the same day, including for older versions like 7.4.
    • Control panels and hosts: cPanel and Plesk, the control panels a lot of shared hosts use, ship fixes for 7.4 and newer, and CloudLinux has every version from 5.2 up fixed by the evening.
    • Linux distributions: Rocky Linux, a free rebuild of Red Hat's, follows with its own fix for 7.4.
    • Control panels and hosts: WP Engine finishes patching, sites on 7.4 included, after putting up protective rules the day before.
    • Attacks and alerts: Wordfence says it has blocked more than 74,000 attempts, with no confirmed break-ins.
    • Attacks and alerts: CISA, the US government's cyber security agency, adds both bugs to its list of vulnerabilities known to be used in real attacks.
Source: Amazon, watchTowr, php.net, Ubuntu, Red Hat, Rocky Linux, cPanel, Plesk, CloudLinux, WP Engine, Wordfence, Reuters and CISA. Dates are UTC

November: no exception this time

Four weeks later, on 19 November, PHP put out another batch of security fixes, seven of them rated critical.10 Most need a fairly unusual setup to be exploited, but on some server configurations one could let someone run code on the server through an ordinary WordPress request.11

This time the official fixes were for 8.2 to 8.5 only, with no source patches for anything older. CloudLinux,12 Red Hat13 and Ondřej Surý's repository14 still patched their old versions, but a host that doesn't use something like those may have nobody patching its old PHP for these bugs.

Who still patches old PHP

Once the PHP project stops fixing a version, fixes can still come from four other places, and which of them applies (if any) depends on the host.

Fixes like these usually keep the old version number,20 so a patched PHP 7.4 and an unpatched one look exactly the same from inside WordPress, and only the host can say which one a site has.

Are plugins moving on from old PHP?

Plugins on WordPress.org each say which version of PHP they need, and WordPress normally won't update a plugin to a version that needs newer PHP than the site has,21 so a site on older PHP stops getting that plugin's updates altogether, security fixes included. I pulled that setting for the 1,000 most popular plugins to see how many have moved on.22

Minimum PHP version the 1,000 most popular plugins ask for

  • No minimum given 155
  • Older than 7.0 198
  • 7.0 to 7.3 160
  • 7.4 429
  • 8.0 25
  • 8.1 15
  • 8.2 12
  • 8.3 6
Source: WordPress.org plugin directory, the 1,000 plugins with the most active installs, checked 28 November 2026

Most haven't, with 94% of them still saying they'll run on PHP 7.4 or older, or not giving a minimum at all.

WordPress plugins say the oldest PHP version they need, but there's nowhere for them to say the newest one they've been tested on, so "PHP version 7.4 or higher" on a plugin's page doesn't mean anyone has tried it on 8.4. Even the minimum is just what the developer types into the readme, and some of those "older than 7.0" plugins probably haven't been tried on PHP that old in years. A "Tested up to" for PHP, like the one plugins already give for WordPress, was proposed in 2020 but hasn't been added,23 so nothing warns you before you switch.

A few very big ones are moving, though. WooCommerce 11.6, due in February, needs PHP 8.1, which it announced back in September, and shops on 7.4 or 8.0 will be stuck on 11.5, which only gets fixes for the most severe vulnerabilities.21 Hostinger's own plugin, on more than 3 million sites, already needs 8.1.22

Contact Form 7, on more than 10 million sites, moved faster, jumping from PHP 7.4 to 8.3 in version 6.2 in October.24 That follows a policy its developer published last December of requiring whatever PHP version WordPress recommends,25 but it rules out about 53% of WordPress sites, including everyone on PHP 8.2, which still has official support. Several recent reviews say an automatic update took their sites down,26 even though WordPress normally holds back a plugin update the site's PHP can't run.

None of the other big names I checked, including Elementor, Yoast SEO, Wordfence, Jetpack, Rank Math, WPForms, Gravity Forms and ACF, has announced a change yet, though Elementor and Gravity Forms already recommend 8.3,27 and these minimums can go up in any update.

Whether it should be a plugin's job to push sites onto newer PHP is another question. Plenty of people running WordPress sites don't know what PHP is, and the sites that stop getting updates are mostly the ones nobody is keeping an eye on, so they're the least likely to notice.

How quickly sites move on

Share of WordPress sites on each PHP version since 2015

Dashed lines: when the PHP project stopped fixing 5.6, 7.4 and 8.1. Dots are the dates there are figures for, and dotted stretches are gaps with none. Pick a version to highlight it

Share of WordPress sites on each PHP version since 2015
Date5.25.35.45.55.67.07.17.27.37.48.08.18.28.38.48.5
1 Mar 201516.6%38.5%37.2%6.5%1.3%
28 Aug 20174.3%11.4%17.9%11%40.7%11.9%2.8%
27 Sep 20174.1%10.9%17.2%10.7%40.8%12.8%3.5%
16 Apr 20191.9%4.9%8.4%4.8%31.8%18%12.7%15.8%1.8%
8 May 20191.9%4.7%8.2%4.5%31.3%17.7%12.8%16.6%2.2%
1 Aug 20191.6%4%6.9%3.6%29%16.1%13.2%19.3%6.2%
9 Oct 20191.5%3.6%5.9%2.9%25.3%14.8%13.5%22.4%10%
2 May 20201.1%2.5%4%1.9%18%12.6%9.5%24.5%23.3%2.7%
11 Aug 20200.9%2.2%3.4%1.6%15.3%10.7%8.2%24%25.6%8.2%
28 Jul 20210.5%1.2%1.2%0.9%8.6%5%3.7%14.7%24.9%38.4%0.8%
15 Aug 20210.5%1.2%1.2%0.9%8.4%4.9%3.6%14.2%24.6%39.6%0.9%
10 Feb 20220.4%1%0.9%0.7%7.1%4%2.9%11.6%20.6%48.1%2.7%0.2%
13 Jul 20220.3%0.8%0.7%0.6%6%3.3%2.3%9.6%15.1%54.1%5.9%1.1%
9 Dec 20220.3%0.7%0.6%0.5%5.1%2.7%1.8%7.8%11%56.7%9.1%3.6%0%
13 Feb 20230.3%0.7%0.6%0.5%4.6%2.5%1.7%7.2%9.9%55%11.1%5.5%0.3%
19 Apr 20230.3%0.6%0.6%0.5%4.3%2.3%1.6%6.4%8.9%53.4%12.7%7.6%0.9%
15 Jun 20230.2%0.6%0.5%0.4%4%2.1%1.4%6.5%8.2%51.6%13.6%9.1%1.7%
27 Aug 20230.2%0.6%0.5%0.4%3.7%1.9%1.3%5.6%7.3%49.9%14.9%10.2%3.4%
30 Nov 20230.2%0.5%0.5%0.4%3.3%1.7%1.1%5.1%6.2%47.4%14.3%13.1%6.2%0%
25 Jun 20240.2%0.4%0.4%0.3%2.7%1.4%0.9%3.4%4.2%40.3%10.9%19.2%13.5%2.4%
17 Sep 20240.2%0.4%0.3%0.3%2.4%1.2%0.8%3%3.7%35.5%10.2%20.1%18.2%3.8%
13 Mar 20250.2%0.4%0.3%0.2%2.1%1%0.6%2.5%2.9%30.9%9.3%19.1%22.1%7.8%0.5%
22 May 20250.2%0.3%0.3%0.2%2%0.9%0.6%2.2%2.6%29%8.7%18.2%24.7%8.9%1.1%
10 Jan 20260.1%0.3%0.2%0.2%1.6%0.7%0.5%1.8%2%22.1%5.6%15.4%27.3%16.8%4.9%0.2%
25 Feb 20260.1%0.3%0.2%0.2%1.6%0.7%0.4%1.7%1.9%21.1%5.2%14.6%26.6%18.7%5.8%0.7%
27 Sep 20260.1%0.3%0.2%0.2%1.3%0.6%0.4%1.4%1.4%16.7%4%11.1%24.5%25.7%8.8%3.3%
2 Nov 20260.1%0.2%0.2%0.1%1.3%0.5%0.3%1.3%1.3%14.8%3.4%9.3%22.8%27.6%10.4%6.1%
28 Nov 20260.1%0.2%0.2%0.1%1.2%0.5%0.3%1.2%1.2%13.9%3.2%8.8%22.1%28.3%11.3%7.1%
Source: WordPress.org PHP version statistics: figures WordPress.org published in March 2015, then archived copies from the Internet Archive, August 2017 to November 2026

Back in March 2015, more than half of WordPress sites were on PHP 5.2 or 5.3, both already out of support, and PHP 5.6 was still on a quarter of sites nine months after its own support ended.

PHP 7.4 has been the odd one out since then, and it's the closest thing PHP has to Windows XP. It peaked on 57% of WordPress sites in December 2022, right around the time the PHP project stopped fixing it, and no version since has come close.

PHP 7.4 is sometimes remembered as a long-term support release, but PHP has never had those. The LTS was Ubuntu's, as Ubuntu 20.04 LTS and Debian 11 both shipped 7.4 as their default,28 and WordPress's own requirements page kept recommending it until July 2025.29 PHP 8.0 was a harder move too, with more breaking changes, which may be why it never got above 15% of sites and a lot of them seem to have skipped it.30

And a lot of those 7.4 sites are probably just quiet. A site built a few years ago still works, its owner has never had a reason to look at the PHP version, and unless the host moves it on, nothing changes.

Share of WordPress sites on PHP past official support

Dashed lines: a PHP version reaches end of life (the last one is 8.2, on 31 December). Dotted stretches are gaps with no figures

Share of WordPress sites on PHP past official support
DatePast official support
1 Mar 201555.1%
28 Aug 201744.6%
27 Sep 201742.9%
16 Apr 201969.7%
8 May 201968.4%
1 Aug 201961.3%
9 Oct 201954.1%
2 May 202049.5%
11 Aug 202042.3%
28 Jul 202135.8%
15 Aug 202134.9%
10 Feb 202249%
13 Jul 202238.8%
9 Dec 202287.3%
13 Feb 202383%
19 Apr 202378.8%
15 Jun 202375.6%
27 Aug 202371.4%
30 Nov 202380.7%
25 Jun 202464.9%
17 Sep 202457.9%
13 Mar 202550.5%
22 May 202547%
10 Jan 202650.7%
25 Feb 202648.1%
27 Sep 202637.6%
2 Nov 202632.9%
28 Nov 202631.2%
1 Jan 2027 (on 1 January if nobody moves)53%
Source: WordPress.org PHP version statistics (March 2015 announcement and Internet Archive copies from August 2017) and php.net end-of-life dates

Every time a popular version reaches end of life, the share past official support jumps and then drifts slowly back down, and January will be the next jump.

How long WordPress itself supports old PHP

WordPress has its own minimum PHP version too. Every time WordPress has raised its minimum PHP version since 2011, the new minimum has been a version the PHP project had already stopped fixing.

How long WordPress kept supporting each minimum PHP version after the PHP project stopped

How long WordPress kept supporting each minimum PHP version after the PHP project stopped
NameStartThe PHP project's own support untilEndsNote
5.22 Nov 20066 Jan 20117 May 2019 (ended)Until WP 5.2
5.628 Aug 201431 Dec 20188 Aug 2023 (ended)Until WP 6.3
7.03 Dec 201510 Jan 201916 Jul 2024 (ended)Until WP 6.6
7.230 Nov 201730 Nov 202020 May 2026 (ended)Until WP 7.0
7.428 Nov 201928 Nov 202228 Nov 2026Still supported
Source: php.net release and end-of-life dates, WordPress release notes and make.wordpress.org announcements. These are the versions that have been WordPress's minimum since 2011

WordPress kept PHP 5.2 as its minimum until 2019,31 more than eight years after the PHP project stopped fixing it.

WordPress does this on purpose so it doesn't break a load of sites overnight, and for a long time I think that was the right call. It isn't a hard rule,32 but in its own words the project has "used 5% as the baseline usage percentage that a PHP version must fall below" before dropping it, and it expects to carry on doing that "for the foreseeable future".33 If it does, the next move is a fair way off, because PHP 7.4 is still on 13.9% of sites, and at the rate it's fallen since January it wouldn't get under 5% until late 2027.

Sites that do get left behind stay on the last version of WordPress that supports them, which only gets security fixes "as a courtesy when possible".33

WordPress supporting a version only means WordPress runs on it, and WordPress itself recommends PHP 8.3 or newer.33

I suspect that gap is part of why sites move so slowly. If nothing complains and the site still works, it's easy to read "WordPress supports it" as "it's fine". PHP developer Juliette Reinders Folmer called it a "chicken vs egg" situation back in 2020: WordPress waits for sites to move before dropping a version, and a lot of sites don't move "until they really have to because WordPress drops support for the version".34 WordPress said something similar this May, when it dropped the "beta" label from its PHP 8 support because it "made some end users and web hosts reluctant to update to newer versions of PHP".35

What old PHP holds back for developers

Old PHP also decides what WordPress and plugin developers get to write. Code has to run on the oldest PHP version it supports, so while the minimum is 7.4, WordPress core can't use anything PHP has added since 2019. That rules out named arguments, union types, match expressions and constructor property promotion from PHP 8.0, and enums and readonly properties from 8.1,36 the oldest of which have been around for six years.

The same thing happened last time round. When WordPress 5.2 raised the minimum in 2019, its release notes told developers they could finally "safely take advantage of namespaces, anonymous functions, and more",31 both of which had arrived in PHP 5.3 ten years earlier, when the iPhone 3GS was brand new.37 WordPress has kept up at the other end, with 6.9 and 7.0 fully supporting PHP 8.5,35 but core still can't use anything added after 7.4.

Plugin developers are in the same position. Most of the popular plugins still say they'll run on PHP 7.4 or older, so they can't use any of it either without leaving those sites behind, and they have every version in between to test against. WooCommerce gave that as one of its reasons for moving to 8.1, saying that supporting 7.4 and 8.0 "keeps WooCommerce tied to older dependency versions and extra code paths, and requires testing each release across more PHP environments".21

WordPress's own announcement for 7.0 says raising the minimum is about "the long-term maintainability of WordPress", and lists the plugin and theme ecosystem, "tooling and libraries for AI" and developer relations among the things that benefit.33 So a site on PHP 7.4 that's fully patched and never gets attacked still counts towards the share WordPress looks at when it decides whether to raise the minimum again.

PHP itself has changed a lot over those years, and the "fractal of bad design" reputation it picked up from a famous 2012 blog post is out of date (you'll see that said in pretty much any PHP discussion these days, and I think it's deserved). PHP 7.4 was part of it, with typed properties and arrow functions,38 and 8 was a bigger step again, but a lot of WordPress developers don't get to use much of it in their day job.

Keeping old sites running is a big part of why WordPress ended up on so many of them, and raising the minimum doesn't upgrade anybody anyway, as it just leaves those sites on an older version of WordPress. But with PHP2Shell this year and everything in my WordPress vulnerability statistics, I'm less sure that "if it ain't broke, don't fix it" is a habit WordPress should keep making so easy. Supporting old PHP didn't cause any of those bugs, but a site that's still on 7.4 is often one that nobody is looking after in other ways either.

Speed, hosting costs and the risk of upgrading

Newer PHP is usually a bit faster too, though by less than you might expect. Kinsta's latest benchmarks found plain WordPress only about 7% faster on 8.5 than on 7.4, though WooCommerce gained more,39 and Tideways found much the same.40 A real site with plugins and caching will see different numbers, so I'd treat speed as a nice extra rather than a reason on its own.

Requests a second in Kinsta's benchmarks, December 2025
PHP WordPress 6.8 WooCommerce 10.2
7.4 139.1 44.2
8.2 146.1 (+5%) 54.7 (+24%)
8.3 142.8 (+3%) 53.7 (+22%)
8.4 148.2 (+7%) 53.4 (+21%)
8.5 148.3 (+7%) 71.0 (+61%, see note)
Source: Kinsta, PHP benchmarks, updated 13 December 2025, checked 28 November 2026. A default install with no plugins or page caching. Kinsta notes the WooCommerce page it served on 8.5 was a lot smaller, so not all of that jump is down to PHP

Hosts are starting to push as well, some more gently than others. Some charge extra to keep an old version going and others move sites on to a newer one, a few of them before 8.2's support has even ended. The table is what each host's own pages said on 28 and 29 November, and some of those pages are a while old, so I'd check with the host before relying on it.

What hosts say they do when a PHP version reaches end of life
Host What its own pages say PHP 8.2 Page dated
WordPress VIP Moves sites to a newer version Production sites move to 8.3 from 7 December41 January 2026
Pressable Moves sites to a newer version Sites still on 8.2 are upgraded to 8.3 on 8 December42 June 2026
WP Cloud (Automattic) Removes the version 8.2 is removed on 15 December43 May 2026
WP Engine Moves sites to a newer version, and says the upgrades "cannot be deferred"44 No date published July 2026
SiteGround Moves sites on its Managed PHP setting Moving to 8.4 in batches45 November 2026
IONOS Charges for extended support, £15.62 a month for 7.4 and 8.0 (IONOS UK, checked 28 November 2026)46 Listed to join extended support after 31 December46 Not dated
GoDaddy Adds a paid add-on at renewal47 Nothing published yet Not dated
Kinsta Still lists 7.4 and 8.0 as available, and said it patches them at no extra cost48 Nothing published yet September 2026 and April 2025

Upgrading isn't free of risk, though. PHP 8.0 removed some old functions and turned several warnings into errors, which is the usual reason older plugins and themes break. Later versions have mostly deprecated things, which only gives a notice for now, though 8.2's deprecation of dynamic properties is likely to show up in a lot of older plugins. PHP 8.4, where a lot of sites on 8.2 will be heading, also dropped the IMAP extension used for reading mailboxes.30 WordPress's own guide is honest about it: "Updating your PHP version should not be a problem, but we can't guarantee that it's not."49

Why patched old PHP only buys time

Hosts and the companies behind them deserve credit for keeping old PHP patched. Forcing an old site onto new PHP with no warning can break it, and a host that kept 7.4 running and patched it in October did right by a lot of small sites that would otherwise have had no fix that week.

It isn't something to lean on for long, though. In October the PHP project made an exception, in November it didn't, and there's nothing to say which way it'll go next time. An old version also only stays patched if the host gets its PHP from a Linux distribution or a support service that still fixes it, keeps paying for it, installs the fixes quickly and restarts PHP afterwards,8 and since none of that shows from the outside, there's little to prompt anyone to move.

It would help a lot if every host that still offers an end-of-life PHP version said so on a public page: which versions it's still patching, who the fixes come from, how long it'll carry on and when it'd like people to move. WP Engine's announcement about supporting 7.4 is the kind of thing I mean, though it was last updated in December 2023.18

Plugins are the bigger issue, because some of the biggest are moving on whether hosts keep old PHP alive or not. A patched server does nothing for an old plugin that can't be updated, and as my WordPress vulnerability statistics showed, plugins are where almost all the security bugs are. Patched old PHP is a good safety net when something like PHP2Shell happens, and a reasonable way to buy time while a site gets upgraded.

Checking your own site

WordPress shows which PHP version a site is on under Tools › Site Health › Info › Server,50 and WooCommerce shows it under WooCommerce › Status too.21

What your PHP version means

Which PHP version is your site on?

Security fixes only

about a month of official fixes left

Security fixes only, until 31 December 2026.

WordPress sites on this version
22.1%

WordPress sites on this version or older
53%

Official PHP2Shell fix, October 2026
Yes

Official security fixes, November 2026
Yes

WooCommerce 11.6, due February 2027
Works

Contact Form 7 6.2 and newer
Needs PHP 8.3, stuck on 6.1.7

Top 1,000 plugins that need newer PHP
6

Source: php.net, WordPress.org PHP and plugin statistics, plugin readmes, checked 28 November 2026. Fixes your host or Linux distribution added aren't shown

Many hosts let you change the PHP version from the control panel, and because old plugins and themes can break on newer PHP,9 the change is usually tested first on a staging copy with a backup in place. WP Engine's PHP Compatibility Checker plugin is still on more than 200,000 sites, but its own page says it's no longer maintained and only checks up to PHP 8.0,51 so I wouldn't rely on it for anything newer. My guide to updating your PHP version in WordPress goes through how it all works, and my guide to the WordPress critical error screen covers what to look at if a site shows an error afterwards.

A plugin that won't work on newer PHP can be a sign it's no longer maintained. My guide on what to do when a plugin is closed or abandoned covers the options.

How I got these numbers

Common questions

What PHP version should my WordPress site use?

It depends on what the site's plugins and theme support. Of the versions with official support, PHP 8.3 gets official security fixes until the end of 2027, 8.4 until the end of 2028 and 8.5 until the end of 2029. PHP 8.6 only came out in November 2026, and PHP 8.2's official support ends on 31 December 2026.

Is PHP 7.4 still safe to use?

The PHP project stopped fixing it in November 2022, so any security fixes now depend on the host. Some hosts still get it patched through their Linux distribution or a paid extended support service, and many did for PHP2Shell in October 2026. Plugins are starting to drop it too, including WooCommerce from February 2027, which means sites on 7.4 can't update those plugins any further.

Will a newer PHP version make my site faster?

Probably a little, though less than it used to. Recent benchmarks found plain WordPress about 3% to 7% faster on PHP 8.x than on 7.4, with very little difference between 8.2 and 8.5. WooCommerce gained more, about a fifth more requests a second. A real site's plugins, theme and caching usually matter more.

Will changing my PHP version break my site?

It can, if a plugin or theme uses code that newer PHP no longer accepts. Plugins only say the oldest PHP version they need, not the newest they've been tested on, so "or higher" on a plugin's page isn't a guarantee. That's why the change is usually tested on a staging copy with a backup in place. Where a host lets you switch versions in the control panel, switching back can also undo it.

How do I know if my host has patched PHP?

You usually can't tell from WordPress, because patched older versions often keep their old version numbers. Only the host can say whether the PHP version a site runs has the latest security fixes, and whether PHP has been restarted since they were installed.

Cite this article

Adam Greenough, "The Elephant in the Server Room: Over Half of WordPress Sites Run PHP That's End of Life by January", adamgreenough.net, 28 November 2026, https://adamgreenough.net/blog/wordpress-php-versions/

You're welcome to quote this article and use its figures and charts with a link back.