Discuss your project

Glossary

PHP End of Life (EOL)

PHP End of Life (EOL) refers to the point in time from which a PHP version no longer receives bug fixes or security updates from the PHP project. Each version is actively supported for two years and receives security fixes for two further years.

October 25, 2026PHPEnd of LifePatch ManagementLifecycle

Many websites, shops, and line-of-business applications run unchanged for years, and the PHP version underneath ages with them. At the latest with the end of life, that is, the end of support, this becomes a security problem: newly discovered vulnerabilities are no longer fixed in this version. The PHP project explicitly advises upgrading from unsupported versions to a current version as soon as possible, because otherwise unpatched security vulnerabilities are a risk.

The PHP support cycle

According to php.net, the following applies to every PHP release branch:

  1. Active support, two years from release: Reported bugs and security issues are fixed and published in regular maintenance releases.
  2. Security support, two further years: Only critical security issues are fixed, and releases are made as needed.
  3. End of life: Support ends after a total of four years. For all currently supported versions, the periods each end on December 31

Support periods at a glance

As of October 25, 2026, according to the overviews on php.net:

If you still run PHP 8.2 today, you therefore only have security updates until the end of the year. For upgrades to a new version, planning over several months is worthwhile.

What end of life means in practice

Special case: Linux distributions

Linux distributions such as Red Hat Enterprise Linux often ship PHP in an older version and retroactively apply security fixes from newer versions to their package. Red Hat calls this backporting and points out that the version number alone then does not show whether a system is vulnerable. In this case, what matters is the support period of the distribution, not that of php.net. With hosting offers, it is worth checking which versions the provider maintains and for how long.

How to plan the upgrade

  1. Take inventory: List all servers, hosting packages, containers, and command-line jobs with their PHP version, for example with php -v.
  2. Check compatibility: The migration notes on php.net list changed and removed features for each version. Static analysis tools find affected places in the code.
  3. Update dependencies: Use Composer to check which packages support the target version.
  4. Test: Test in a test environment with automated tests and business acceptance, ideally via a CI/CD pipeline.
  5. Switch over and observe: Switch over in stages, monitor error logs for deprecation warnings, and keep a way back ready.
  6. Repeat: Include PHP versions in patch management and vulnerability management, and plan the next switch in good time.

How it differs

A security update within a version, for example from 8.4.x to a newer 8.4 version, is a regular patch. Switching to a new version, for example from 8.2 to 8.4, is an upgrade with adjustments and tests. End of life concerns the PHP runtime. Applications and frameworks have their own support periods, which are often shorter.

Sources

View update management

EXPLORE THE GLOSSARY

Related Terms

More in Software Development

All Glossary Terms

YOUR NEXT STEP

What should
work better
next?

Tell us briefly what you have in mind. We will assess it and suggest a sensible next step.