DEV Community

TECHDEV
TECHDEV

Posted on Originally published at github.com

53% of WordPress sites will run unsupported PHP on 1 January. I built a one-command fleet check.

On 1 January 2027, more than half of all WordPress sites will be running a PHP version the PHP project no longer supports - unless somebody upgrades them first. No alert will fire. Nothing will break that day. The sites will simply stop getting security fixes, quietly. I built a one-command check that tells you which of your sites are on that list, before the date arrives.

Why 1 January is a real deadline

The numbers are from php.net and WordPress.org data, verified live on 2026-11-30:

  • PHP 8.2 security support ends 31 December 2026. PHP 8.3 ends 31 December 2027, 8.4 ends 31 December 2028, 8.5 ends 31 December 2029, 8.6 (released 19 November 2026) ends 31 December 2030.
  • Already past end of life: 8.1 (31 December 2025), 8.0 (26 November 2023), 7.4 (28 November 2022).
  • 31% of WordPress sites already run a PHP version the project stopped supporting, and another 22.1% sit on PHP 8.2 - which expires on 31 December 2026. Left alone, about 53% of sites run unsupported PHP on 1 January 2027. The real number will land closer to 50%, because upgrades are happening at roughly 2.4 points per month, but the direction is the same.
  • PHP 7.4 still runs 13.9% of sites, four years after the project ended it.

The plugin floor is already moving. Contact Form 7 6.2 (October 2026) raised its minimum from PHP 7.4 to 8.3. A site on PHP 8.2 stays on Contact Form 7 6.1.7 and misses the 6.2.4 security fix for CVE-2026-114432, an unauthenticated file upload fixed on 29 October 2026. WooCommerce 11.6, planned for February 2027, will require PHP 8.1.

The catch is that "end of official support" is not the same as "nobody patches it". Ubuntu 22.04 still patches PHP 8.1 until 30 April 2027. Debian 12 patches 8.2 until 30 June 2028. Red Hat's PHP 8.2 Application Stream runs to May 2029. A site on 8.1 with Ubuntu 22.04 underneath is covered; the same version on an unknown host is not. Any honest fleet check has to know the difference, and it has to say which one it is looking at.

What I built

phpfleet is a zero-dependency TypeScript CLI (Node 20+). You give it a manifest - one JSON file listing your sites, their PHP versions, and the distro or host underneath each one - and it prints one verdict per site: OK, EOL-SOON, EOL, BACKPORT-COVERED, or UNKNOWN, plus an exit code your CI gate can use. It runs fully offline by default and never probes a live site.

phpfleet demo

git clone https://github.com/techdevfun/phpfleet.git
cd phpfleet
npm install
npm run build
node dist/cli.js audit examples/fleet-mixed/manifest.json --as-of 2026-11-30
Enter fullscreen mode Exit fullscreen mode

Five commands: init (scaffold a manifest + config), audit (full table + verdict), check (one line + exit code for CI), diff (compare against an approved baseline, exit 1 on regressions), explain (the EOL calendar, backports, plugin floors, and verdicts, each with sources and verification dates).

A manifest looks like this - one entry per site, with the distro declared so backport coverage can be judged:

{
  "sites": [
    { "name": "shop.example.test", "php": "8.4.28" },
    { "name": "blog.example.test", "php": "8.2.36", "plugins": ["contact-form-7"] },
    { "name": "intranet.example.test", "php": "8.1.34", "distro": "ubuntu-22.04" }
  ]
}
Enter fullscreen mode Exit fullscreen mode

The five verdicts

Verdict Meaning
OK Security support has more than 90 days left
EOL-SOON Security support ends within 90 days (prints the days left)
EOL Past security support, with no backport coverage in force
BACKPORT-COVERED Past official support, but the declared distro/host still patches it until a printed end date
UNKNOWN Branch not in the calendar (for example PHP 9.0) or an unparsable version - warns, never fails the gate

diff --baseline catches regressions: a site newly EOL, a site that fell out of BACKPORT-COVERED because its coverage expired, or a plugin newly blocked by a floor. audit --live-signal is opt-in only: it probes the WordPress.org version-check API once per PHP version and prints the raw response. It never changes a verdict.

What the audit actually prints

A six-site synthetic fleet, audited as of 2026-11-30 (real CLI output, fixtures labelled synthetic in the repo):

$ phpfleet audit examples/fleet-mixed/manifest.json --as-of 2026-11-30
phpfleet audit - 6 site(s) as of 2026-11-30 (calendar verified 2026-11-30)
Audits the manifest you supplied - it does not probe the live site.

SITE                         PHP        VERDICT          DAYS       NOTE
----------------------------------------------------------------------------------------------------
shop.example.test            8.4.28     OK               762        Actively supported until 2026-12-31; security fixes until 2028-12-31.
blog.example.test            8.2.36     EOL-SOON         31         Security support ends in 31 days (2026-12-31).
                                        PLUGIN                      Contact Form 7 6.2 (Oct 2026) needs PHP 8.3 - this site cannot install current versions, security fixes included.
old-shop.example.test        8.1.34     EOL              334 past   End of life 334 days ago (2025-12-31); no backport coverage declared for this site.
intranet.example.test        8.1.34     BACKPORT-COVERED 334 past   Past official support (2025-12-31), but Ubuntu 22.04 LTS standard support covers PHP 8.1 until 2027-04-30.
docs.example.test            8.2.36     EOL-SOON         31         Security support ends in 31 days (2026-12-31).
archive.example.test         7.4.33     EOL              1463 past  End of life 1463 days ago (2022-11-28); no backport coverage declared for this site.
----------------------------------------------------------------------------------------------------
Summary: 1 OK, 2 EOL-SOON, 2 EOL, 1 BACKPORT-COVERED, 0 UNKNOWN; 1 site(s) blocked from plugin updates.
Nearest deadline: blog.example.test in 31 day(s).
exit: 1
Enter fullscreen mode Exit fullscreen mode

And the CI gate form, one line:

$ phpfleet check examples/fleet-mixed/manifest.json --as-of 2026-11-30
phpfleet check: 6 site(s), 2 EOL, 2 EOL-SOON, 1 BACKPORT-COVERED, 0 UNKNOWN - FAIL
exit: 1
Enter fullscreen mode Exit fullscreen mode

The interesting row is intranet.example.test: same PHP 8.1 as old-shop, opposite verdict. The only difference is the declared distro. That is the whole point of the tool - a version number alone cannot tell you whether a site is covered.

Where rivals beat us

  • Airworthy and THRG PHP Checker scan your actual theme and plugin code to tell you whether it will run on a newer PHP. phpfleet only checks the minimum PHP a plugin declares - it cannot tell you whether your code runs on 8.3.
  • WordPress Site Health and wp-cli read the PHP version really running on the server. phpfleet trusts the manifest the operator supplies - a wrong manifest gives a wrong verdict, and every output says so.
  • WordPress plugins give an admin a one-click scan inside WordPress itself. phpfleet asks the operator to write a manifest JSON first.
  • endoflife.date is the better general EOL reference for every language. phpfleet only knows PHP, and only WordPress plugin floors.
  • What phpfleet does that none of them do: audit a whole fleet from one manifest, with backport-aware verdicts, plugin-floor checks, baseline diff, and a CI exit code - without installing anything in WordPress or SSH-ing into each site. The best-known tool in this space, the WP Engine PHP Compatibility Checker, is no longer maintained.

Honest limits

  • phpfleet audits the manifest you supply. It does not probe the live site, and it cannot detect a PHP version running on a public site (headers are stripped, and no WordPress API field returns the PHP version). Garbage in, garbage out.
  • BACKPORT-COVERED does not mean "safe". It means "this distro or host still patches it until a printed date". The date is always printed next to the verdict.
  • The EOL calendar and backport table are a snapshot verified 2026-11-30. audit warns when the snapshot is more than 90 days old, and explain prints every source and date. The snapshot must be re-verified - distributions change their coverage dates. (One row was already corrected after review: Debian 11 LTS ended 31 August 2026, not 30 June 2026 as some sources cite.)
  • The WordPress.org platform signal is a lagging indicator, not ground truth. The version-check API used to return an is_secure flag; as of 30 November 2026 the servehappy endpoint returns HTTP 404 and the version-check endpoint returns offers with no is_secure field at all. phpfleet reports the raw response and never infers a safety verdict from it.
  • Plugin floors are warnings, not verdicts: a blocked plugin never flips a site to EOL by itself, and a plugin not in the table is skipped, never guessed.
  • The 53% figure is an estimate if nobody upgrades, and the upgrade pace is already pulling it toward 50% by 1 January. The article and the tool both state the range, not the headline number alone.

Install

Install from source for now - the npm package is not published yet:

git clone https://github.com/techdevfun/phpfleet.git
cd phpfleet
npm install
npm run build
Enter fullscreen mode Exit fullscreen mode

36 tests (unit + e2e), tsc strict, eslint + prettier clean. The repo is github.com/techdevfun/phpfleet. If you run WordPress sites for clients or for your own company, run it before 31 December - the list it prints is the upgrade list for January, and January is 32 days away.

Top comments (2)

Collapse
 
wbcomdesigns profile image
Wbcom Designs 💡 •

the php switch itself usually takes minutes on a decent host. what eats the day is the one old plugin that throws a fatal on 8.3 and nobody remembers installing. we look after client sites at Wbcom Designs and we'd put a staging copy on the new version a week before switching live, the error log tells you more than any scan.

Collapse
 
techdevfun profile image
TECHDEV •

That's the exact failure a version scan can't see, and it's worth saying plainly: phpfleet never probes a live site, so a plugin that only dies at runtime on 8.3 is invisible to it. The staging copy a week before the switch is the right second half - the scan tells you which sites are on the list, the staging run tells you which ones will actually survive the move. Out of curiosity, when you do that staging pass, what usually breaks first - the one forgotten plugin, or something in the theme layer?