Layers for developers

PHP 8.2 security support ends 31 Dec 2026

php.net's rule: each branch is fully supported for two years from its first stable release, then two more years for critical security issues only. After four years it reaches end of life. PHP 8.2 came out on 8 Dec 2022, so its four years close at the end of 2026.

Supported branches, from php.net

Branch Released 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

Example

Illustrative example only. A team on 8.2 plans the move to 8.4 over 3 weeks: 7–11 Dec run the test suite on 8.4 and read the 8.3 and 8.4 migration guides, 14–18 Dec fix deprecations, 21–23 Dec staging, first week of January production. Going to 8.5 instead buys security fixes to 31 Dec 2029, one year more than 8.4.

⚠️ Important

php.net on end-of-life branches: users should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities. If PHP comes from your Linux distribution's packages, the distribution's own support policy applies to those packages; check it separately.

Before the end of the year

  • ☐ List every service still on PHP 8.2
  • ☐ Pick the target branch and its end date
  • ☐ Run tests on the target branch
  • ☐ Book a staging slot and a production date

Gantt chart, ready: put the upgrade weeks on one timeline 👇

Source: php.net, Supported Versions (branch table and support policy).

Source