Is the major PHP version website still in the security maintenance period, how to do the three-step self-check?

📅 October 9, 2026 👁️ 18

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.

Related articles

Where does the difference lie between Baota panel deployment and Docker image deployment in website operation and maintenance?

The panel route gathers environment, certificate, database, and site management into one interface, configuration is changed through point selection, the advantages are quick to start and direct troubleshooting; the image route packages the running environment along with the application, and the machine is switched by restarting the container, the advantages are consistent environment and fast rollback. This article describes what they manage individually, three types of convenience, and selects according to three conditions, and gives four places to verify after deployment.

2026-10-09

How to export fields and links when migrating content from WordPress to an independent CMS

When migrating away from WordPress, what is most likely to be lost is not the article content, but the field relationships and old addresses. The categories, tags, and custom fields brought in by the export file should be mapped to the new content model first, then determine the address rules and redirect table for the new site, and import them in batches and check each item. This article gives the five steps of migration, what to check at each step, and the three types of verification methods after the import is completed.

2026-10-09

How to configure the 301 redirect of the old link after website revision so that the position is not lost

The key to not dropping rankings after the revision is not how good the new page looks, but where the old addresses go: each old link should point to the corresponding new address one-to-one, use **redirect instead of jumping to the homepage of the entire site, and send the new address again after the redirect takes effect. This article explains what 301 redirection actually transmits, the four most common types of redirect errors, the troubleshooting order on the day of the revision, and how to maintain the static rules and redirect table in the long run.

2026-10-09

Article status, recycling bin, and backup: the three places that are easy to neglect in the daily operation and maintenance of CMS

The three most easily overlooked aspects of daily CMS operation are the content status chain, time factor, and backup and restore. Formal documents, drafts, pending publication, and recycling station are four states, deleting formal documents only moves them to the recycling station and does not involve physical deletion; scheduled publication makes the online rhythm controllable; backup needs to include static files and verify whether they can be restored. This article provides the state transition sequence, backup strategy judgment, and the use boundary of full-site replacement.

2026-10-09

The disposal sequence after the website is inserted with malicious code, whether to cut off the entry first or clean the files first

The correct sequence after being hacked is to cut off the still effective entry first, then clean the files, then complete the entry vulnerability repair and review in the same round, and finally change the credentials. Simply cleaning the files without moving the entry will definitely recur: the number of files is hundreds or even thousands, and manual inspection and identification are not complete, and leaving an unrepaired entry means that the next round of writing is just a matter of time.

2026-10-09

How to configure the in-site anchor text so that it does not look like a pile-up, and how to determine the keyword library and distribution range

The key to not stacking anchor text within the site is to first build a keyword library, then determine the scope of distribution: a keyword should point to only one target page, the number of times the same word appears on a single page is controlled, and the rules are effective according to the column rather than the entire site. The essence of automatic anchor text is to replace in bulk, and rule conflicts will overlap, so the configuration order is more important than the switch itself.

2026-10-09

Sudden increase in comment spam, which part is managed by captcha, content review, and frequency control?

When there are more spam comments, three types of protection each manage a section: captcha judgment to determine whether the submission action is initiated by a machine, sensitive word filtering and content review to determine whether the submitted text can be exposed externally, and frequency control to limit the number of submissions from the same source within a short period of time. No section can fill the gap of another, and the wrong order may result in the situation where many switches are turned on but spam still comes in. This article divides it into before submission, during submission, and after submission, and explains the easy-to-miss XSS risk where the content to be reviewed is still rendered in the background.

2026-10-09

How to avoid missing and incorrect changes when renaming columns or batch replacing links.

This is a batch rewrite of the entire site, with risks concentrated on the scope and the irreversible aspects. The safe order is to first make a recoverable backup, then narrow down the scope to a small amount of content for testing, confirm the hit results before executing officially, after execution, establish 301 redirects one by one according to the old address, and finally check that the recycle bin and drafts are not involved. Omissions are often found in navigation and single-page applications, and incorrect changes often come from too broad matching words. This article provides checkpoints for each step.

2026-10-09