Every PHP release follows the same schedule, and almost every team I talk to misreads at least one part of it. The confusion is understandable: there are two dates, they are two years apart, and the important one is not the one people tend to write down.
The two dates
A PHP minor release gets roughly two years of active support, during which the project fixes both bugs and security issues. After that it enters security-only support for about another year, where only security problems are addressed. Then it reaches end of life and receives nothing further.
The date most teams record is the first one, because it is the one that shows up when a dependency warns that your version is old. But active support ending is not an emergency: you still get security fixes. End of life is the date that changes your risk profile, and it arrives quietly.
What actually changes at end of life
Nothing visible. The interpreter does not stop working. Your application does not start failing. That is precisely what makes it dangerous: the only thing that changes is that the next vulnerability disclosed against your version will never be fixed upstream.
The practical consequences show up later, in three places:
- Scanners. Container and dependency scanners begin flagging your base image, and the list only grows.
- Questionnaires. Enterprise security reviews ask whether your software is vendor-supported. An EOL runtime with no support contract is a finding.
- Distributions. Your OS packages stop updating PHP, which means your patch process silently stops delivering PHP patches.
The part nobody plans for
Distribution packaging is where this bites hardest. Teams assume that because
apt upgrade runs on a schedule, PHP is being patched. Once the version is EOL
upstream and dropped from the distribution's supported set, that assumption
quietly stops being true, but the automation keeps running and keeps reporting
success.
Worth checking directly: compare the PHP version your production hosts report against the current patch level for that release line. If they match and the release is EOL, the number has simply stopped moving.
What to do about it
In order of how much time you have:
- Find out where you actually are. Inventory versions across the fleet. Most teams find at least one host running something older than they believed.
- Put the real EOL dates on a roadmap. Not the active-support dates, but the end-of-life ones, with the upgrade work scheduled to land before them.
- Cover the gap you cannot close in time. Where an upgrade cannot happen before the date, a supported runtime with backported security fixes keeps the risk contained while the work gets planned properly.
None of this removes the need to upgrade. It changes the upgrade from something you do under pressure into something you do on purpose, which is generally the difference between a good outcome and a bad one.