PHP end of life means the PHP project no longer supports a branch. As of 23 November 2026, PHP 8.2 and 8.3 still receive critical security fixes, while 8.4, 8.5 and 8.6 have active support. PHP 8.1 and older are EOL. The table below shows each branch’s published support date; vendor-supported packages need a separate check.
| PHP branch | Status | Security fixes end |
|---|---|---|
| 8.6 | Active support | 31 Dec 2030 |
| 8.5 | Active support | 31 Dec 2029 |
| 8.4 | Active support | 31 Dec 2028 |
| 8.3 | Security fixes only | 31 Dec 2027 |
| 8.2 | Security fixes only | 31 Dec 2026 |
| 8.1 | End of life | 31 Dec 2025 |
| 8.0 | End of life | 26 Nov 2023 |
| 7.4 | End of life | 28 Nov 2022 |
PHP End of Life: Which Versions Are Supported Today?
PHP gives each branch two years of active support and two further years of fixes for critical security issues. Active support includes reported bugs and security issues; the later phase covers critical security issues only. After that, the branch reaches EOL. The dates below come from PHP’s supported versions table, checked on 23 November 2026.
Start the inventory with the PHP runtime that serves requests, its branch, package provider and deployment owner. Record internet exposure and the provider’s security support separately. Our external attack surface management page describes the asset discovery work behind the exposure check. A hidden PHP version does not establish whether a site is patched. PHP’s expose_php documentation describes header disclosure. Verify the running package and its provider’s security notice.
| Branch | Initial release | Active support until | Security support until |
|---|---|---|---|
| 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 |
PHP 8.4, 8.5 and 8.6 are in active support on 23 November 2026. PHP 8.2 and 8.3 receive critical security fixes only. PHP 8.2 reaches EOL on 31 December 2026, so a new move to that branch would leave little upstream support time. Plan a compatible target branch and confirm the provider’s package policy.
When Is PHP 8.3 End of Life?
PHP 8.3 reaches end of life on 31 December 2027. That is the last day of its security support on php.net. Active support ended on 31 December 2025, so PHP 8.3 now gets fixes for critical security issues only. The branch was first released on 23 November 2023.
When Is PHP 8.5 End of Life?
PHP lists 31 December 2029 as the end of security support for PHP 8.5. Its active support runs through 31 December 2027. PHP 8.6, released on 19 November 2026, has active support through 31 December 2028 and security support through 31 December 2030. These are PHP’s published branch dates, not a guarantee about a particular host or distribution package.
When Did PHP 7.4, 8.0 and 8.1 Reach End of Life?
php.net keeps a second list of unsupported branches, for branches that are no longer supported. It gives the end of life date and the last release of each branch. It does not repeat the release and active support dates.
| Branch | End of life | Last release |
|---|---|---|
| 8.1 | 31 Dec 2025 | 8.1.34 |
| 8.0 | 26 Nov 2023 | 8.0.30 |
| 7.4 | 28 Nov 2022 | 7.4.33 |
| 7.3 | 6 Dec 2021 | 7.3.33 |
| 7.2 | 30 Nov 2020 | 7.2.34 |
| 7.1 | 1 Dec 2019 | 7.1.33 |
| 7.0 | 10 Jan 2019 | 7.0.33 |
| 5.6 | 31 Dec 2018 | 5.6.40 |
The PHP 5.5 and older lines ended earlier, and php.net lists them too. A last release is not always the last word. In October 2026 the PHP security team published minimal source backports of the PHP2Shell fixes for 7.4, 8.0 and 8.1. It did this to help people who build from source or have no LTS vendor. The project still says PHP 8.1 and older no longer receive updates, as its 21 October advisory states.
Branch support dates last checked against php.net on 23 November 2026.
What Can You Do If You Are Stuck on an End of Life Branch?
For upstream support, migrate an EOL runtime to a supported branch. PHP lists security support for 8.4 through 2028, 8.5 through 2029 and 8.6 through 2030. Choose a branch your applications and extensions can run. Use PHP’s migration guides for each required step, and test the change before production deployment.
If you cannot move yet, these options are backed by the sources below:
- Ask your distribution or hosting vendor for backported fixes. PHP says some distributions and LTS vendors provide them for 8.1 and older.
- On Ubuntu, fixes for PHP2Shell on 22.04 come with standard support. For 20.04 and older they need Ubuntu Pro with Expanded Security Maintenance, according to Canonical.
- Build from the PHP security team backports if you compile PHP yourself. They exist for 7.4, 8.0 and 8.1.
- If updating immediately is impossible, use PHP’s interim measures only to reduce exposure; the PHP advisory says they do not make an installation safe.
Workarounds can reduce exposure to specific attack paths. PHP says only an update is a complete solution. PHP’s 19 November 2026 change log records the CVE-2026-115560 fix in supported branch releases; the earlier upload-progress advice was interim. A version number that looks old may belong to a vendor build that is fixed, so ask the vendor before you rely on it.
For a migration plan, list where PHP runs across web workers, background jobs and managed services. Prioritize internet-facing EOL branches, then the 8.2 systems approaching 31 December 2026. Record the running build, provider notice, change owner and compatibility test. Track each branch date through patch management and vulnerability management. The separate PHP2Shell analysis covers those flaws.
- List every serving PHP runtime, branch, package source and owner.
- Flag EOL branches and confirm any provider backport in writing.
- Schedule 8.2 migration before its 31 December 2026 upstream EOL.
- Test application, extension and worker compatibility on a supported branch.
- Deploy, restart workers and verify the effective serving version.
If PHP runs a Drupal site, the Drupal core Field UI flaw CVE-2026-108097 needs a separate core update, and Drupal 10 reaches end of life on 9 December 2026.
For the 19 November 2026 security releases and fixed versions, see our PHP critical security release coverage.
Frequently Asked Questions
When did PHP 7.4 reach end of life?
PHP 7.4 reached end of life on 28 November 2022. Its last release was 7.4.33, according to php.net. PHP 8.0 followed on 26 November 2023.
Is PHP 8.1 or 8.2 end of life?
PHP 8.1 is end of life since 31 December 2025, with 8.1.34 as the last release. PHP 8.2 is not yet. Its active support ended on 31 December 2024, and it gets security fixes until 31 December 2026.
Is PHP 8.3 EOL?
No. PHP 8.3 receives critical security fixes through 31 December 2027, according to PHP’s supported versions table. Active support ended on 31 December 2025.
When is PHP 8.5 EOL?
PHP lists 31 December 2029 as the end of security support for 8.5. Its active support ends on 31 December 2027.
What does PHP EOL mean?
The PHP project no longer supports the branch after its security support ends. Verify any separate distribution or hosting support against the exact package and provider notice.
Is an old PHP version safe if my host backports fixes?
It can be, but you must ask. Some distributions and LTS vendors backport fixes and keep the old version number, so the number alone does not tell you. Get the vendor's notice for your exact package.
Sources
- PHP.net, Supported Versions
- PHP.net, Unsupported Branches
- PHP.net, Security advisory: Critical remote code execution vulnerabilities (21 October 2026)
- CISA, Critical Vulnerabilities in PHP Require Immediate Patching (21 October 2026)
- NVD, CVE-2026-109618
- NVD, CVE-2026-109619
- Ubuntu, PHP2Shell vulnerability fixes available
