Half the web's CMS runs on PHP that dies in 5 weeks

5 min read 1 source clear_take
├── "The PHP version distribution on WordPress is a ticking security time bomb"
│  ├── Adam Greenough (adamgreenough.net) → read

Greenough pulled WordPress.org's own public stats and found that more than half of WordPress sites run PHP versions that will be EOL by January 2026, with PHP 8.1 — the single most popular version at ~25% of installs — losing security support on December 31, 2025. Since WordPress powers ~43% of the web, he frames this as an ecosystem-wide embarrassment and a security exposure that affects a meaningful fraction of the public internet.

│  └── @xadz (Hacker News, 98 pts) → view

By submitting the piece with the framing 'Elephant in the Server Room,' xadz amplifies the argument that this is a widely-ignored structural problem. The 98-point score and 38 comments suggest the HN audience recognized the EOL cliff as a legitimate ecosystem-level concern rather than routine version-lag noise.

├── "Shared hosting providers — not site owners — are the structural bottleneck"
│  └── top10.dev editorial (top10.dev) → read below

The editorial argues that a developer on a VPS can trivially `apt upgrade`, but the long tail of WordPress sites lives on shared hosts where the PHP version is chosen by the provider, not the user. This reframes the problem from 'lazy site owners' to a hosting-industry incentive failure where shared hosts drag their feet on PHP upgrades to avoid breaking customer sites.

└── "The risk is overstated — PHP EOL is mostly a paperwork problem, not an exploit problem"
  └── top10.dev editorial (complacent read) (top10.dev) → read below

The editorial steelmans the opposing view: PHP is boring and mature, the delta between 8.1 and 8.3 is mostly incremental, and code that runs on 8.1 almost always runs on 8.3 without drama. Under this framing, 'EOL' is a compliance checkbox rather than an imminent security catastrophe, since nothing is obviously on fire today.

What happened

Adam Greenough pulled the numbers from WordPress.org's own public stats page and found a result that should embarrass the broader PHP ecosystem: more than 50% of WordPress sites are running a PHP version that will be end-of-life by January 1, 2026. WordPress runs roughly 43% of the web, per W3Techs, which means we are talking about a meaningful fraction of the entire public internet.

The breakdown is ugly. At the time of writing, PHP 8.1 is the single most popular version on WordPress, sitting around a quarter of all installs. PHP 8.1's official security support ends December 31, 2025 — meaning the plurality version of PHP on the plurality CMS of the web becomes unsupported in roughly five weeks. PHP 8.0 and the entire PHP 7.x line, already past EOL for one to four years, still account for a non-trivial slice. PHP 5.6, which lost security support in January 2019, is somehow still measurable on the chart.

PHP 8.2 — supported until December 2026 — is the next-largest cohort. PHP 8.3 and 8.4, the versions you'd actually want to be running, are a minority. The chart shape is the classic long-tail laggard distribution: the newest release has adoption inertia, the oldest versions refuse to die, and the version in the middle is the one about to fall off the support cliff.

Why it matters

There are two ways to read "EOL PHP running the web." The complacent read is that PHP is boring, mature, and the delta between 8.1 and 8.3 is mostly incremental. Code that works on 8.1 almost always works on 8.3. Nothing is obviously on fire. The adversarial read is that "unsupported" means no more security patches, and PHP vulnerabilities are not theoretical — the language and its common extensions ship CVEs on a regular cadence, and the window between a disclosure and automated exploitation of unpatched hosts is measured in days.

Shared hosts are the pressure point here, not self-hosted ops teams. A developer running their own VPS can `apt upgrade` on a Saturday morning. The long tail of WordPress lives on $4/month shared hosting plans where the hosting provider dictates the PHP version, the site owner has no idea what PHP even is, and the "update" is a support ticket or a control-panel toggle most users will never click. The hosts have an incentive problem too: forcing a PHP upgrade breaks some non-zero fraction of customer sites because of abandoned plugins and themes, which generates support load, which costs money. So they drag their feet, and 8.1 lingers.

The plugin ecosystem compounds this. WordPress's power and its curse is the plugin bazaar — tens of thousands of plugins, many unmaintained, many pinning to old PHP behavior that broke between major versions. Every PHP major release quietly orphans a tail of plugins whose authors stopped responding to GitHub issues in 2019, and that tail is what keeps hosting providers stuck on old runtimes. The upgrade story isn't "bump PHP," it's "bump PHP and audit twenty plugins and probably replace three of them and hope the replacement doesn't break your theme."

The LLM-era angle makes this worse, not better. A huge amount of WordPress maintenance is now happening through AI coding assistants — site owners who can't write PHP asking Claude or ChatGPT to "fix the error." Those models were trained on a corpus heavy with PHP 7 and early-8 idioms. They will happily emit code that targets `create_function()`, relies on dynamic properties without `#[\AllowDynamicProperties]`, or uses the pre-readonly-promotion constructor pattern — all of which either throw deprecation notices or outright break on modern PHP. The upgrade friction is partially baked into the training data of the tools people are using to do the upgrade.

The Hacker News thread on the post is predictably split. One camp argues this is a nothingburger because PHP's compatibility story within a major line is excellent and distros like Debian and Ubuntu backport security fixes to EOL upstream versions for years. The other camp points out that "my distro will patch it" is doing a lot of work when most WordPress hosts aren't tracking Debian stable, they're tracking whatever their control panel vendor supports, and that pipeline is far more fragile than upstream PHP.

What this means for your stack

If you own any WordPress property — a client site, a marketing blog bolted onto your SaaS, a personal domain you forgot about — the audit is a five-minute exercise. Log into the admin, go to Tools → Site Health → Info → Server, check the PHP version, and if it starts with `7.` or `8.0` or `8.1`, you have a dated runtime running a meaningful fraction of your attack surface.

For the actual upgrade: go to 8.3, not 8.4. PHP 8.3 is supported until November 2027, has had two years of plugin ecosystem shake-out, and is what most managed hosts default to. PHP 8.4 is fine, but it's new enough that you'll hit occasional plugin incompatibilities and the win over 8.3 is modest for the typical WordPress workload. Before you bump, run the WP-CLI command `wp plugin list --status=active` and spot-check each plugin's last-updated date on wordpress.org. Anything unmaintained for 2+ years is a risk vector regardless of PHP version — the runtime bump is as good a forcing function as you'll get to prune that list.

If you're on a shared host that doesn't offer PHP 8.3, that itself is the signal. The economics of WordPress hosting have gotten weird — managed WP hosts like Kinsta, WP Engine, and Rocket.net default to current PHP and handle the upgrade treadmill for you, and the per-month cost has converged with the shared-hosting floor. If your host is still pushing 8.0 as the default, you're paying for someone else's technical debt.

Looking ahead

The deeper problem this post surfaces isn't a WordPress problem or a PHP problem — it's that the web's long tail runs on software whose maintenance model assumes an operator who doesn't exist. The person who registered the domain in 2014, installed WordPress with one click, and hasn't logged in since is not going to upgrade PHP. The host could force it, but then plugins break and the host eats the support cost. The plugin author could maintain compatibility, but they stopped caring in 2019. The honest fix is for hosts to auto-upgrade PHP and auto-disable incompatible plugins with loud notifications, which is unpopular, operationally expensive, and the only thing that actually moves the number. January 1 will come and go, 8.1's share will slowly bleed into 8.2 and 8.3 over the course of 2026, and in twelve months someone will write this exact post about PHP 8.2. The elephant doesn't leave the server room; it just gets rebranded.

Hacker News 247 pts 109 comments

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

→ read on Hacker News

// share this

// get daily digest

Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.