PHP 8.2 reaches end of life on 31 December 2026. After that, the PHP project ships no more security fixes for the 8.2 branch, and any flaw found later stays open on every server still running it.
About one in six PHP websites still runs 8.2. On most hosting fleets, many sites will be on 8.2 in 2027 and beyond.
The standard advice is to upgrade to PHP 8.3 or 8.4, which assumes whoever pushes the upgrades owns the code. On a hosting server, the customer owns it and picks the PHP version it runs on, so the upgrade is work only they can do.
For a host, the question is how to keep customers' sites patched beyond the end-of-life without handing every customer a rewrite.
Every PHP branch follows the same lifecycle: two years of active support with bug and security fixes, then two years of security-only releases, then end of life.
PHP 8.2 was released on 8 December 2022, so its security support ends on 31 December 2026. The php.net supported versions page lists the dates for each branch.
PHP supported versions and their support dates (source: php.net)
| Branch | Released | Active support ends | Security support ends |
|---|---|---|---|
| 8.1 | 25 Nov 2021 | 25 Nov 2023 | 31 Dec 2025 |
| 8.2 | 8 Dec 2022 | 31 Dec 2024 | 31 Dec 2026 |
| 8.3 | 23 Nov 2023 | 31 Dec 2025 | 31 Dec 2027 |
| 8.4 | 21 Nov 2024 | 31 Dec 2026 | 31 Dec 2028 |
| 8.5 | 20 Nov 2025 | 31 Dec 2027 | 31 Dec 2029 |
| 8.6 | 19 Nov 2026 | 31 Dec 2028 | 31 Dec 2030 |
Once PHP 8.2 end of support passes, the PHP project tags no new 8.2 releases, and fixes for new CVEs go into 8.3 and later only. Security advisories no longer list 8.2 among the fixed versions.
The sites keep running. Nothing on the server looks different the day support ends, and an unpatched branch stays quiet until someone exploits a flaw in it.
PHP has no long-term support (LTS) branch to fall back on. Once the PHP project lets a branch go, extended support from a third party is the only source of security fixes for it.
On 21 October 2026, the PHP project disclosed PHP2Shell: two flaws, CVE-2026-109618 and CVE-2026-109619, rated 9.2 on CVSS v4.0, that let an unauthenticated attacker run code on the server remotely.
The PHP project released fixes for 8.2 to 8.5. For 7.4, 8.0 and 8.1 it posted only minimal source patches, for people who build PHP themselves, and nothing for older branches. We looked at what that split meant for hosting servers when PHP fixed four versions on 21 October.
Attackers moved within days. In the week after disclosure, Imunify360 recorded almost 3 million attack requests aimed at about 100,000 servers it protects. The same speed shows up in Linux kernel exploits, where patch windows have been shrinking for a while now.
About two in five PHP websites run a branch the PHP project no longer supports, from PHP 4 through 8.1. Counting 8.2, it is about three in five (W3Techs PHP and PHP 8 version shares, November 2026).
The host carries the risk of an unpatched PHP version. Even though the customer picked it, one exploited site on a shared server puts its neighbors at risk too. And the host can’t fix code it doesn’t own.
Sites stay on 8.2 for ordinary reasons. A WordPress site on PHP 8.2 may depend on plugins or a theme nobody has tested on 8.3 or 8.4.
Custom code written by a developer who has since moved on rarely gets a PHP 8.2 migration budget. For older sites the bill is larger, and TuxCare estimates that moving from PHP 5.x to PHP 8 can mean rewriting up to 60% of a site’s code.
Many of those sites will still be on 8.2 when PHP end of life arrives.
The usual move is the "please upgrade" email, and each one is a churn risk. Customers who ignore it stay exposed. The ones who act on it may find a plugin no longer works on the new version, and the complaint lands in the host’s support queue.
A forced upgrade on the host’s schedule produces the same tickets in bulk.
Agencies that run client sites on their own servers face the same problem with a different owner. When an older client site is compromised, the agency answers for it. The fix on offer is a rewrite the client has to approve and pay for, and clients rarely approve it on the agency’s timeline.
A host with sites on 8.2 has four realistic choices once support ends.
| Option | Who does the work | What breaks | What it costs | Risk once support ends |
|---|---|---|---|---|
| Leave 8.2 unpatched | Nobody | Nothing today | Nothing today | Every new CVE stays open on every 8.2 site on the server |
| Force the upgrade to 8.3 or 8.4 | The site owner, then your support team | Any plugin, theme, or custom code that isn’t ready for 8.3 or later | Tickets, churn, and the customer’s rewrite | Low once done, but many sites never get done |
| Rely on your panel vendor’s backports | The panel vendor, on its own schedule | Nothing, if a fix ships | Nothing extra | cPanel and Plesk on Linux shipped the PHP2Shell fix for 7.4 to 8.1, built from the PHP project’s source patches. That is a record, not a published policy, and nothing older was covered |
| Run a patched build of the same version | You, once per server | Nothing changes for the site: same PHP version, same code | $13.25 per server per month | New CVEs get a fix for the branch. The target is 14 days on critical ones |
Leaving 8.2 unpatched costs nothing until the next PHP2Shell-class flaw. Then every site on the branch is exposed at once, along with its neighbours on the same server.
An upgrade is the right long-term answer for sites that can move. But the PHP 8.2 migration still lands on the site owner, and the ones who can’t or won’t do it on your schedule become either tickets or cancellations.
The panel route has worked before. cPanel’s EasyApache 4 and Plesk both shipped a backported PHP2Shell fix for PHP 7.4 to 8.1 on 21 October, built on the PHP project’s own source patches. It was a response to one flaw, not a stated policy for end-of-life branches. Neither covered 7.3 or older, Plesk’s Windows builds got none, and neither says what it will do for 8.2.
When a panel doesn’t backport, the host carries the gap. On servers with no panel, the host carries all of it.
A patched build keeps each site on the version it runs and replaces the PHP build underneath with one that keeps receiving backported fixes. This is PHP extended support, the same approach behind Endless Lifecycle Support for hosting for other runtimes.
For a shared server, it is the only one of the four that leaves every site exactly as it is.
PHP extended support is backporting done by someone other than the PHP project, after the project has stopped. For hosting servers, that is ELS for PHP, from CloudLinux.
ELS for PHP tracks new CVEs, backports each upstream fix to the affected branches, tests and signs the builds, and publishes them to the ELS repository. yum, dnf, or apt installs them like any other update. A fixed build keeps its PHP version and gets a new package release number, so a site on 8.2 stays on 8.2. Builds cover PHP 5.2 to 8.5, and the versions available vary by OS.
For PHP2Shell, ELS for PHP had fixes for every branch from 5.2 to 8.5 on 21 October, the day the PHP project published its own. That was one instance. The standing target is 14 days for critical and high-risk CVEs, and you can check any CVE’s status in the public CVE tracker.
The patched builds install alongside whatever PHP the server already has: system packages, cPanel’s ea-php, Plesk’s PHP, or Remi and Sury builds. Each version sits under its own path, /opt/alt/phpXY. On cPanel, a site moves to the patched build through per-account PHP selection. On Plesk, the builds appear as an extra PHP handler. Servers with no panel work too.
On cPanel, the supported route is WHM’s MultiPHP Manager. Once the server has a license, it installs the builds, and you switch each domain from ea-php to the alt-php build of the same version (cPanel’s ELS for PHP guide). Before moving the rest, check that the first account’s extensions load, with /opt/alt/php82/usr/bin/php -m.
Per TuxCare’s FAQ, the install needs no downtime. Move one account first and check it before moving the rest. If a site misbehaves, switch it back to its old PHP.
On an EL8 or EL9 server without cPanel, adding the repository and the PHP 8.2 build looks like this:
# ELS for PHP on EL8/EL9: add the repository, install patched PHP 8.2
wget https://repo.alt.tuxcare.com/alt-php-els/install-els-alt-php-rpm-repo.sh
sh install-els-alt-php-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX
yum groupinstall alt-php82
rpm -qa | grep alt-php
The builds run on Enterprise Linux 6 to 10, Ubuntu 16.04 to 26.04, Debian 10 to 13, Alpine Linux, and Windows Server 2019 to 2025 (ELS for PHP docs table). The same model already covers MariaDB.
ELS for PHP is for hosting providers and agencies that run customer or client sites on PHP versions the PHP project no longer supports. It keeps those versions patched without touching the site. Compared with a forced upgrade, the customer has no work to do and the host avoids the churn. And unlike a panel backport, the timing of the fix is the host’s call.
Already running CloudLinux or Imunify360? Both include patched builds of end-of-life PHP as HardenedPHP, at no extra cost.
To check versions, OS coverage, and panel support in detail: See what ELS for PHP covers.
ELS for PHP costs $13.25 per server per month, or $159 a year. One license covers one shared hosting server, VPS, or dedicated server. It covers the PHP versions ELS for PHP provides on that server and every site hosted on it, so the price does not change with site count.
On a shared server with 100 sites, that works out to about 13 cents a site per month.
The license key arrives by email after purchase, and CloudLinux provides 24/7 support. There is no trial, so any test starts with one server and one account.
The PHP 8.2 EOL date is 31 December 2026, when its two years of security-only support end. Active support, which included bug fixes, ended on 31 December 2024. After the EOL date, the PHP project ships no fixes of either kind for 8.2.
Yes. Nothing switches off on that date, and sites on 8.2 keep serving pages as before. That is why end of life is easy to miss. The branch keeps running while new vulnerabilities in it stay open, unless the server runs a build that receives backported fixes.
No. There are four options: leave 8.2 unpatched and every new CVE stays open; force upgrades and the work goes to site owners while the tickets come to you; wait for a panel vendor’s backport on its schedule; or run a patched build of 8.2 that keeps receiving security fixes.
No. A site on 8.2 stays on 8.2, and its code runs unchanged. Each fixed build keeps the same PHP version and gets a new package release number. The builds install next to your current PHP, so you move sites one account at a time and can switch any site back.
You already have these builds. CloudLinux and Imunify360 include patched builds of end-of-life PHP as HardenedPHP, at no extra cost, so there is nothing to buy for those servers.
On a hosting server, a forced upgrade hands the work to customers and the tickets to the host. A patched build of the same version keeps every site on 8.2 running on the code it has today, with security fixes still arriving after the PHP project stops shipping them.
New to CloudLinux? Get ELS for PHP for your server. Already a CloudLinux Network customer? Existing customers buy in the CLN dashboard.
Nikolay Galov
Comments