PHP version safety · from php.net supported versions
Is my PHP version still safe?
A PHP branch is safe to run only while php.net (or a vendor you pay or trust) still ships security fixes for it, and only if you have installed them. Pick your branch for dates, PHP2Shell status and upgrade advice.
Last updated
| Branch | php.net status | Security support until | PHP2Shell fixed in |
|---|---|---|---|
| PHP 8.5 | Active support | 2029-12-31 | 8.5.12 |
| PHP 8.4 | Active support | 2028-12-31 | 8.4.27 |
| PHP 8.3 | Security fixes only | 2027-12-31 | 8.3.36 |
| PHP 8.2 | Security fixes only (ends soon) | 2026-12-31 | 8.2.35 |
| PHP 8.1 | End of life | 2025-12-31 | — |
| PHP 8.0 | End of life | 2023-11-26 | — |
| PHP 7.4 | End of life | 2022-11-28 | — |
- PHP 8.5Supported · PHP2Shell: 8.5.12
- PHP 8.4Supported · PHP2Shell: 8.4.27
- PHP 8.3Security fixes only · PHP2Shell: 8.3.36
- PHP 8.2Security support ends 2026-12-31 · PHP2Shell: 8.2.35
- PHP 8.1End of life
- PHP 8.0End of life
- PHP 7.4End of life
Which PHP version should I use in 2026?
PHP 8.4 or 8.5. Both have active support from php.net, 8.4 until 31 December 2026 and 8.5 until 31 December 2027, followed by two years of security fixes.
Is PHP 7.4 still safe?
No. It reached end of life on 28 November 2022, and only paid or distro extended support still patches it.
Sources
Outbound links leave this site. We do not host exploit code.
- Supported Versions — PHP project (php.net)
- Unsupported Branches — PHP project (php.net)
- News archive 2026: security advisory, 21 October 2026 — PHP project (php.net)
- CVE-2026-109618 — Ubuntu Security (Canonical)
- CVE-2026-109618 — Amazon Linux Security Center