PHP major version active maintenance and security maintenance two levels, what is the difference in which level
The script language support period divides active maintenance and security maintenance into two tiers, the difference between the two tiers lies in whether non-security defects are repaired. During the active maintenance period, defect repairs and security repairs are released together at a regular pace; when entering the security maintenance period, only critical security issues are handled, and the release changes to as needed. If both tiers have passed, it means the end of support, and there will be no security repairs at that time. The upgrade schedule for the website environment depends on whether you can accept the state of repairing only security issues for a long time.
What is the difference in what is repaired between the two tiers of support?
The PHP official support period lists two end dates for each major version: active support ends at the end of a certain year, and security support extends two years further, totaling four years before termination.For example, PHP 8.5 is actively maintained until December 31, 2027, and security maintenance until December 31, 2029;PHP 8.4 is actively maintained until December 31, 2026, and security maintenance until December 31, 2028; PHP 8.3 and PHP 8.2 are now only receiving security fixes, respectively until December 31, 2027 and December 31, 2026.
The difference in daily terms is about three types of things: functional changes no longer return; non-security defect reports are no longer handled, and compatibility issues encountered must be bypassed; only fixes deemed critical security issues will continue to be released.
Supports reading the schedule.
When reading the schedule, first look at which segment today's date falls into, rather than just looking at the version number size. The same version may have just crossed the active deadline, and there may still be dates on the schedule, but defect fixes have already stopped.
Next, look at the item 'On-demand release'. The release frequency during the security maintenance period is lower than during the active period, which means that the arrival time of the fix is not entirely determined by the official, but also related to the severity of the issue. Only by looking at these two columns together can you estimate the actual exposure time.
What risks do receiving only security fixes entail?
The first category of risk is still safe, but the fix is slower: the official continues to deal with key issues, and if a site depends on a flaw that is only fixed during the active period, it will run with it for a long time.
Risk of the second category comes from the periphery: libraries, extensions, and dependency versions will move forward, and it will be more and more difficult to match with old branches that are only repaired for security over time. When it is necessary to upgrade across major versions, the scope of changes will be greater than when upgrading by version.
The third category is compliance and inspection criteria. Recording the support period table as part of the environmental ledger is more convenient than looking up announcements after the fact.
| Stage | What to repair | Release rhythm | What the website builder should do |
|---|---|---|---|
| Active maintenance | Repair defects and security together | Continuous release of regular versions | Stable follow-up of minor versions |
| Security Maintenance | Only critical security issues | release as needed | Set a fixed time for upgrading across major versions |
| End of support | No more fixes will be released | None | The upgrade action must be completed before this |
How to schedule the environment upgrade
Three lines need to be distinguished: the end of support for the language runtime, the recommended version of the content management system itself, and the version of the database and proxy layer. The schedule is determined by the tightest line, not the loosest one.
If you don't want to be led by these three lines, you can change direction to see the deployment form: AnQiCMS uses GoLang with Iris framework and GORM to build the technology stack, the program is compiled into a single executable file for delivery, deployed through Baota panel or Docker image, default listening on port 8001. There is no runtime layer that needs to follow the language version upgrade on this path, and the focus of environment maintenance becomes the program version itself and the system dependencies.
The difference on the resource side is also here: The official figure is that the memory usage is reduced by about 80% compared to PHP class CMS, which is an approximate figure rather than an exact indicator, but it is related to the overhead of running in the background, and it belongs to another aspect of the same type of trade-off.
Common questions
Still in the security maintenance period, should you upgrade immediately? It is not necessary to make progress day by day, but you should schedule the upgrade across major versions on the calendar, to avoid passive response after the deadline.
What should you do if the shared host only provides a fixed version? First, confirm which tier the highest version you can choose falls into, and then judge whether the current program supports it; versions that pass both tiers are not suitable for continuing to provide sites to the outside world.
Will the support schedule be changed temporarily? Yes. The date and stage division may change with the official adjustment, treat it as a source that needs to be reviewed rather than copied once and used for many years.