Is the major PHP version website still in the security maintenance period, how to do the three-step self-check?
Confirm whether the PHP major version is still in the security maintenance period, as indicated by the two cut-off dates in the official support table: the active support cut-off date and the only security support cut-off date. The former expiration means that common defects will no longer be repaired, and the latter expiration means that even serious security issues will no longer receive patches. Self-inspection only requires three steps: clarify the major version actually running online, locate it in the corresponding tier according to the support table, write the two cut-off dates into the maintenance ledger, and set a processing time limit.
What kind of repairs are provided for the three-tier support
The official support table divides each branch into three levels: the proactive support stage will fix reported defects and security issues and release small versions in a rhythm; the only security support stage will only handle serious security issues and release as needed; after the maintenance is stopped, no patches will be provided, and the official explicitly recommends upgrading as soon as possible.
For example, the support table as of October 9, 2026, the active support for PHP 8.2 has ended as of December 31, 2024, and only security support will be available until December 31, 2026; for 8.3, only security support will be available until December 31, 2027; for 8.4, active support will be available until December 31, 2026, and security support until December 31, 2028; for 8.5, active support will be available until December 31, 2027, and security support until December 31, 2029.
| Branch | End of active support | End of only security support | Current level |
|---|---|---|---|
| 8.2 | 2024-12-31 | 2026-12-31 | Only security support |
| 8.3 | 2025-12-31 | 2027-12-31 | Only security support |
| 8.4 | 2026-12-31 | 2028-12-31 | active support |
| 8.5 | 2027-12-31 | 2029-12-31 | active support |
What the distribution data shows
W3Techs statistics on October 9, 2026, show that in websites using PHP, version 8 accounts for 64.6%, version 7 accounts for 27.5%, version 5 accounts for 7.8%, and there are still 0.1% of websites stuck at version 4. The actual meaning of these numbers is not that 'a high proportion of new versions is enough', but that the long tail is a real phenomenon: versions 7 and earlier branches still constitute a large stock, and most of these branches have already or will soon only have security support or even stop support.
The environment upgrade usually lags behind the program upgrade, for very specific reasons: when upgrading to a major version, it is necessary to verify extensions, template engines, and dependency libraries simultaneously; changing one thing can affect the entire site. Many sites have new programs but old running environments; the fixes in the announcement break halfway on this machine.
Three-step self-check
Step, check the actual running version. Do not look at the version written in the deployment script, but at the version reported at runtime: It is very common for a server to have multiple PHP versions at the same time, and the site directory may not correspond to the same branch as the parser.
The second step, align with the official support table to locate the slot, copy the two items of the end date of active support and the end date of only security support into the ledger, and at the same time, note who is responsible for the upgrade of this site and which extensions need to be verified.
The third step, check the things bound to the running environment. Panel one-click deployment or container deployment will solidify the version selection in the configuration: Baota panel and aaPanel site settings, runtime built into the image, reverse proxy forwarding rules, these version口径 need to be aligned. If running in a container, the upgrade of the base image and the program upgrade should be arranged as the same change.
The real cost of not upgrading the version.
It is not noticeable in the short term, the risks are concentrated in three places. First, the vulnerability exposure window: during the security support stage, only serious problems are handled, and the response speed is lower than that of proactive support; after entering the maintenance phase, even this layer is lost. Second, the dependency linkage: if the running environment is not upgraded, the new version of the upper-level components will gradually raise **requirements, and finally, multiple major changes will have to be made at one time. Third, the recovery ability: missing extensions, inconsistent compilation environments will narrow the rollback path, and even degrading is not smooth when problems occur.
It is worth mentioning the comparison of another form. AnQiCMS, a technology stack composed of GoLang, Iris framework, and GORM, is built and delivered with the program at runtime, and does not have the same problem of 'the version of the site running behind the program'; the responsibility of the environment has shifted from the resident interpreter to the construction and deployment phase, and the objects to be checked under the two deployment methods of Baota panel or Docker image are also different. This is not about who replaces who, but the self-inspection list needs to be rewritten according to the form of the stack.
Common questions
Can the branch that only fixes security issues be left as it is?Can be maintained in the short term, but you have to accept two points: the authority to determine serious issues is with the authorities, ordinary defects will no longer be repaired, and the deadline for the next security announcement must be calculated by days instead of weeks.
How do you know which processor your site is using?Reverse lookup the parsing rules from the site configuration, then look at the processor process pointed to by the rule, and it is confirmed only when both are consistent.
What verifications need to be done for a major version upgrade?Verify expandability, database connection, time and timezone handling, and the minimum compatibility with the program version in turn, and keep rollback points.