PHP 8.2 stops receiving security fixes on December 31, 2026. A few notes for whoever has to plan the upgrade:
- After that date, any new PHP 8.2 vulnerability stays unpatched upstream. Some distros (Debian, RHEL, Ubuntu ESM) backport fixes for longer; most shared hosting and container images do not.
- The version is often visible from outside: an
X-Powered-By: PHP/8.2.xheader, default error pages, or version-specific behaviour. Turning offexpose_phphides the header, not the outdated runtime. - 8.3 is supported until end of 2027, 8.4 until end of 2028. The 8.2 → 8.3 jump is usually small (typed class constants, readonly amendments, a few deprecations); most breakage comes from old extensions and unmaintained plugins.
- Quick inventory on a host:
php -v,php -m, and checking the PHP version in your Dockerfiles and CI images, since those tend to be forgotten.
Official schedule: www.php.net/supported-versions.php
Curious how others handle EOL runtimes on legacy apps they can’t upgrade quickly: WAF, isolation, or paid extended support?