Two PHP branches change status on 31 December 2026, and they change in different ways. PHP 8.2 reaches end of life on that date: its security support ends, and after it there are no fixes of any kind. PHP 8.4 only loses active support on that date: from 1 January 2027 it gets security fixes only, and it keeps them until 31 December 2028.
It is easy to hear "31 December" and file both under "going end of life". That mistake costs you in both directions. A team on 8.4 that reads it as a deadline upgrades in a hurry for no reason. A team on 8.2 that reads it as "only losing bug fixes" does nothing and starts 2027 on a branch that will never be patched again.
The dates, from php.net
This is the branch table on php.net's Supported Versions page, as we read it on 24 November 2026. The page shows each date with a relative age next to it ("in 1 month"); the dates below are the absolute ones, which do not change as the year turns.
| Branch | Released | Active support until | Security support until |
|---|---|---|---|
| PHP 8.2 | 8 Dec 2022 | 31 Dec 2024 | 31 Dec 2026 |
| PHP 8.3 | 23 Nov 2023 | 31 Dec 2025 | 31 Dec 2027 |
| PHP 8.4 | 21 Nov 2024 | 31 Dec 2026 | 31 Dec 2028 |
| PHP 8.5 | 20 Nov 2025 | 31 Dec 2027 | 31 Dec 2029 |
| PHP 8.6 | 19 Nov 2026 | 31 Dec 2028 | 31 Dec 2030 |
The table we read lists these five branches only. It says nothing about PHP 8.1 or older, so neither does this article.
What "active", "security fixes only" and "end of life" mean
php.net defines the three states itself, and the difference between them is the whole point here:
- Active support: "Reported bugs and security issues are fixed and regular point releases are made."
- Security fixes only: "supported for critical security issues only. Releases are only made on an as-needed basis."
- End of life: "no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities."
PHP 8.2 on 31 December 2026: end of life
PHP 8.2 has been on security fixes only since its active support ended on 31 December 2024. Its security support ends on 31 December 2026. From then on, a vulnerability found in PHP 8.2 gets no release from the PHP project.
If you run PHP 8.2, plan the upgrade to land before 31 December 2026. Do not wait to see whether a last release appears.
PHP 8.4 on 31 December 2026: security fixes only
PHP 8.4's active support ends on 31 December 2026. After that date, an ordinary bug in PHP 8.4 may stay unfixed, and releases come only when a critical security issue needs one. PHP 8.4 keeps that security support until 31 December 2028.
If you run PHP 8.4, nothing forces a move in December 2026. You have until 31 December 2028 before PHP 8.4 itself reaches end of life. Upgrade when your framework and dependencies are ready for a newer branch, not because of this date.
PHP 8.3, between the two
PHP 8.3's active support ended on 31 December 2025, so it has been on security fixes only since then. It reaches end of life on 31 December 2027. 31 December 2026 changes nothing for PHP 8.3.
Which branch should you run?
- On PHP 8.2 (end of life 31 December 2026): move now. PHP 8.4 gives you security support until 31 December 2028; PHP 8.3 only until 31 December 2027, so a move to 8.3 buys one year and means doing this again.
- On PHP 8.3 (security fixes only until 31 December 2027): no deadline in 2026. Plan a move during 2027.
- On PHP 8.4 (active until 31 December 2026, security fixes only until 31 December 2028): stay unless you need bug fixes in PHP itself, which from 1 January 2027 only PHP 8.5 and 8.6 still receive.
Before you switch, check what your code needs. For a Laravel or Composer project, the php constraint in composer.json says which branches your app accepts, and composer check-platform-reqs, run under the target PHP, says whether your locked dependencies accept it too. Run your test suite on the target branch before you switch the live site:
php -v
composer check-platform-reqs
php.net publishes a migration guide for each branch (for example "Migration guide for PHP 8.4"), linked from the same Supported Versions page. Read the one for every branch you skip over.
On DeployBase
As of 24 November 2026, a Laravel app on DeployBase, and a PHP app that runs in its own container, has a PHP version setting under the app's Application Settings in the dashboard. It offers PHP 8.3 and PHP 8.4. PHP 8.2 is not offered for apps. Changing the version recreates only that app's container, so that one app restarts briefly and your other apps keep running. WordPress sites do not have this setting; they run on our WordPress image, which uses PHP 8.3.
For the patches that shipped for every branch on 19 November 2026, see our post on PHP's 19 November security releases.
Source: php.net, Supported Versions, read 24 November 2026.