deniz.in

Markets

Weather

Loading weather

· via Hacker News – Front Page (hnrss.org)

Over half of WordPress sites will run end-of-life PHP by January 2027

An analysis of WordPress.org statistics finds 53% of WordPress sites run PHP that loses official support by 1 January 2027, while 31% already sit on versions the PHP project has stopped fixing.

Over half of WordPress sites will run end-of-life PHP by January 2027

More than half of all WordPress sites are running PHP versions that will be past official support on 1 January 2027, according to an analysis by Adam Greenough. Around a third of sites already run versions the PHP project no longer fixes, and PHP 8.2 — the second most common version in the WordPress ecosystem, on 22.1% of sites — reaches end of life on 31 December 2026.

The analysis, published on 28 November 2026 and subsequently promoted to Hacker News's front page, draws on WordPress.org's PHP version statistics, php.net's end-of-life dates and WordPress release notes. Its title, a nod to PHP's elephant mascot, frames the sheer volume of ageing PHP on the web as the elephant in the room: much of it stays patched only because Linux distributions, paid support services and hosting companies keep fixing it behind the scenes, often without site owners realising.

What WordPress sites are running

PHP 8.3 is the most common version, on 28.3% of WordPress sites, with 8.2 close behind at 22.1%. The surprise is third place: PHP 7.4, which the PHP project stopped fixing on 28 November 2022, still powers 13.9% of sites — more than PHP 8.4 (11.3%), despite 8.4 having been available for two years. End-of-life PHP 8.1 accounts for another 8.8%, PHP 8.5 for 7.1%, and PHP 8.6, released on 19 November, barely registers at 0.1%.

The PHP project supports each release with two years of full bug and security fixes, followed by two more years of security fixes alone. Past that point, the project's own guidance warns that users can be left running software with security flaws that will never be officially patched.

If no site upgraded, Greenough calculates that 53% of current WordPress installs would be beyond official support on 1 January 2027, and roughly four in five a year later, once PHP 8.3's support window closes. Sites do upgrade, though: between a 2 November snapshot and 28 November, the share on PHP 8.2 or older fell by about 2.4 percentage points, a pace that would put the New Year figure nearer 50% than 53%.

PHP2Shell: end of life in practice

October offered a live demonstration of what the milestone means. On 21 October the PHP project fixed two critical bugs, collectively nicknamed PHP2Shell, that allowed an attacker to execute code on a server without authenticating. Details had leaked the previous day, ahead of a planned 22 October disclosure, and Amazon's honeypots had recorded exploitation attempts from 17 October — four days before the flaws were made public. According to Greenough, government, school and hospital sites in several European countries were taken offline as a precaution while the fixes landed.

The official patches covered PHP 8.2 through 8.5, but the severity prompted an unusual exception: the PHP security team also published minimal backported fixes for the end-of-life 7.4, 8.0 and 8.1 branches. Vendors went further still. Ubuntu patched every version it supports, reaching back to PHP 5.5 on Ubuntu 14.04, with 20.04 and older covered through the paid Ubuntu Pro subscription. CloudLinux, whose operating system targets shared hosting, shipped fixed builds of all 16 PHP versions its customers use, from 5.2 to 8.5, arguing that a shared server hosts hundreds of accounts, each pinned to the PHP version its site was built against.

The exception did not become policy, however. When a further round of critical fixes arrived roughly four weeks later, the PHP project left the old branches out — meaning much of the end-of-life fleet stays secure only as long as maintainers, distributions, paid services and hosts volunteer to help.

The wider ecosystem is moving on

Plugin and platform developers are less patient than hosts. Greenough notes that WooCommerce and Contact Form 7 are both phasing out old PHP regardless of what hosting providers do. WordPress's own track record is part of the picture too: of the five times the project has raised its minimum required PHP version since 2011, every new minimum was already past end of life.

Today's numbers are nonetheless an improvement. Shortly after PHP 7.4 reached end of life in 2022, the share of WordPress sites on unsupported PHP was closer to nine in ten.

Why it matters

WordPress underpins a large share of the web, and PHP end of life is not a ceremonial date. PHP2Shell showed exploitation starting before the vulnerabilities were even disclosed, and after 31 December every site on PHP 8.2 or older — at minimum half the ecosystem on current trajectories — depends on a patching layer that is largely invisible to site owners. For shared hosts, that layer is expensive to maintain; for unmanaged servers, it may not exist at all. And because PHP branches fall out of support on a fixed four-year schedule while the installed base moves slowly, this gap will keep reopening with every end-of-life date, with security resting on the quiet goodwill of the people who keep backporting fixes nobody asked them to.

  • #wordpress
  • #php
  • #security
  • #end-of-life
  • #web

Related posts