← Home

WordPress on the Brink: Over Half of Sites Run End-of-Life PHP by January

The elephant in the server room

On November 28, 2026, the PHP project released its final security patches for versions already past end of life, but the message was clear: starting January 1, 2027, over half of all WordPress sites worldwide will be running a version of PHP that no longer receives security fixes. That figure — estimated at 53% — is no accident. It is the accumulated result of years of technical inertia, fragile dependencies, and an industry that assumed "the hosting provider" would solve the problem on their behalf.

The analysis by blogger Adam Greenough, which made headlines when shared on Hacker News on November 28, maps the terrain with a precision rarely seen. Using the public statistics from WordPress.org and the official support dates from php.net, Greenough built a timeline showing how the share of WordPress sites on actively supported PHP versions has fluctuated between 12% and 87% since March 2015, and where it stands now: 31% on versions already unsupported, and 53% when PHP 8.2 officially loses its support on December 31.

The most uncomfortable statistic is simple: 14% of WordPress sites still run PHP 7.4, a version whose last security patch was released in November 2022. Three and a half years have passed. More than half a billion sites are built on WordPress — and nearly one in seven runs the oldest engine in the group.

What happens on January 1

When PHP 8.2 reaches its official end of life, the PHP project stops releasing patches. This does not mean the site goes down overnight. It means that from that date forward, any security flaw discovered in PHP 8.2 will remain open forever. There will be no official fix.

The scenario is even more severe when considering PHP 8.1 and earlier versions, which have already been unsupported since December 2025 (8.1) and November 2022 (7.4). Together, these three versions represent 25.9% of all WordPress sites. When 8.2 falls, the number jumps to 53%.

The lesson PHP2Shell taught

In October 2026, two critical vulnerabilities in PHP — collectively known as PHP2Shell (CVE-2026-109618 and CVE-2026-109619) — were actively exploited in the wild. Both carry a CVSS 9.2 score and allow unauthenticated remote code execution. Wordfence tested the exploit in a controlled environment and confirmed successful code execution on PHP 8.2.

The irony is that PHP 8.2 received the patch precisely because it was still within its support window. Sites running PHP 8.1 or earlier received no official fixes. Some Linux distributions and long-term support vendors created backport patches, but many site administrators never received clear guidance on what to do.

The CISA (U.S. Cybersecurity and Infrastructure Security Agency) was more direct: systems running PHP 8.1 or earlier should be taken offline if they could not be updated. For a WordPress site, going offline is not an option — it is the organization's digital presence. The alternative is staying exposed.

Why sites don't update

The Censys research, published in July 2026, offers some answers. Analyzing a representative sample of WordPress sites, Censys found that about 30% ran a PHP version with active patches, but 31% ran a WordPress version that was itself no longer supported (version 6.9 was discontinued in March 2026). Most worryingly: the majority of sites on outdated WordPress versions also run equally outdated PHP.

The reasons are varied and compound each other. Old plugins that haven't been maintained for years. Custom themes that depend on deprecated PHP functions. Shared hosting that offers only one or two PHP versions. Site owners who simply don't know they can (and should) change versions. And, in many cases, the legitimate fear that an update will break something that works.

Censys points to a worrying pattern: "it is not enough to keep WordPress updated while ignoring PHP — the CMS ecosystem depends entirely on the backend layer." The same holds for Laravel, which also runs on PHP and shares much of the same site base.

What WordPress and plugins say

WordPress itself maintains a requirements page recommending PHP 8.3 or higher. WooCommerce, the most widely used e-commerce platform on WordPress, supports PHP 8.4. Contact Form 7, one of the most popular plugins, requires PHP 8.3 — meaning sites on PHP 8.2 that update to the latest version of the plugin must simultaneously migrate away from that PHP version.

This creates a cascade effect: updating one plugin may require a PHP upgrade, which may break another plugin, which may require an update that doesn't exist. The cycle repeats with every PHP version since 2011 — five times, WordPress has raised its minimum PHP requirement, and every time the new minimum was already past end of life. The project's logic is clear: there is no point in waiting for older versions to die naturally.

What to expect

With 22.1% of sites still on PHP 8.2 and another 31.2% on versions already unsupported, the outlook for 2027 is forced migration. Hosting providers will begin removing 8.2 from their options before December even ends. Sites that don't migrate will be stuck on unpatched versions, vulnerable to exploits that will be discovered — and exploited — throughout the year.

The question lingers: as WordPress continues to power roughly 43% of all websites on the internet, who decides when a site is "worth" keeping secure? The site owners, the hosting providers, or the PHP project itself? The answer will determine not only the fate of hundreds of millions of sites, but also the security standard of a significant slice of web infrastructure.

Sources: Adam Greenough, Wordfence, Censys

✓ Independent sources cross-checked and verified before publishing