PHP 8.2's security support is only until the end of 2026, how to arrange the upgrade plan for sites still running old versions

📅 2026-10-25 👁️ 0

PHP 8.2's security support is only until the end of 2026, this date is not 'end of feature updates', but 'the official will no longer release security fixes for this branch'. For websites, after the demarcation line, each new vulnerability must be borne independently. For websites still running old versions, the correct approach is not to temporarily grab a patch, but to arrange a schedule of upgrade plans according to the support cycle, listing the end dates, business importance, and rollback paths into an executable schedule.

What is the support cycle page reading?

php.net's support policy is two-phase: each officially released branch enjoys a two-year full support period during which regular version updates will fix defects and report security issues; after two years, it transitions to a two-year critical security support period, dealing only with issues deemed critical. In terms of dates, the official security support end dates are 8.2 to December 31, 2026, 8.3 to December 31, 2027, 8.4 to December 31, 2028, and 8.5 to December 31, 2029.

Read this table and there are three key points. First, the cut-off date looks at security support, not active support, don't judge the remaining window by the frequency of feature updates. Second, after entering the critical security support phase, ordinary defects will no longer be repaired, and the priority of handling compatibility issues will also decrease. Third, when multiple branches coexist, we should converge to the latest usable level instead of shifting between the middle branches.

What will happen after the security support is stopped?

Once the branch has passed the cut-off date, the reality that the site faces is as follows:

Scene Before stopping support After stopping support
Newly disclosed vulnerabilities Official patch released by version fixing No official patch is available, need to apply patches or switch branches yourself
Manufacturer's attitude Provide migration reminders and parallel versions Gradually deactivating old branch image
Compliance and audit Controllable risk Commonly judged as needing immediate rectification
Plugin Compatibility The official version line is still rolling, and the follow-up adaptation is quick Third-party testing is gradually limited to new branches

What is really easy to ignore is the fourth line: many plugins and themes on the old branch will stop adapting one step ahead, and what you are facing is not 'PHP old' but 'the entire dependency chain aging'.

The three-step method of upgrading scheduling

Step one, perform a runtime inventory. Record the actual versions of each site, pay attention to distinguishing between the command line version and the interpreter version actually used by the site, as discrepancies between the two are a common source of accidents. Also, inventory the extension modules, listing compiled extensions (such as image, encryption, database drivers), as these are the most likely to break across major versions.

The second step is to classify by business importance. Label each site: external transaction and customer acquisition entry, internal system, event page, or long-tail content site. The purpose of classification is to determine the window rather than the strictness of the priority order - the first category should be scheduled during the daytime of weekdays with backups, monitoring, and immediate rollback capabilities, and the third category can be placed in the batch maintenance window.

The third step is to break the migration into several reversible steps. The recommended order is: first, run the new branch and all extensions in the test environment; then hang a new version entry next to the production environment, verify the same code; only after confirming that there are no errors can you switch to the default version; retain the old interpreter for a period of time to facilitate rollback. Before the entire process, there must be a complete backup. AnQiCMS's backup capability includes data and static files, so there is no need to manually fill in images and attachments when rolling back, which can significantly shorten the time for fault recovery.

The deployment method is also included in the schedule. AnQiCMS supports one-click deployment for Baota panel and aaPanel, command deployment under the LNMP environment, and Docker image deployment, with the default listening port 8001 forwarded by the reverse proxy; if sites in the same batch are mixed with several deployment methods, the length of the upgrade plan window and the fallback method should be written separately, and cannot share a time table.

Can this cycle be omitted when changing the runtime?

Cannot be completely omitted, but it can significantly reduce the surface area that needs to be synchronized for updates. The content system developed in GoLang (AnQiCMS's technology stack includes GoLang, Iris framework, and GORM) is delivered as a compiled product, with the language runtime and business code packaged together, the site no longer maintains a separate 'script engine version', and there is no longer a need to perform compatibility tests for interpreter extensions. Therefore, the boundary of responsibility for security fixes is clearer: upgrading the content system itself is equivalent to upgrading the runtime layer, and there will be no intermediate state where 'the program has been updated but the underlying layer is still on an old branch'.

This does not mean that you can ignore the version announcement. On the contrary, the upgrade of the compiled stack should pay more attention to the authentication and key change requirements in the release notes, as it incorporates more capabilities into the same upgrade.

Common questions

It's just the corporate website, with not much traffic. Can't we wait until it's no longer supported?

It is not recommended. The website is usually an entry point for acquiring customers. Once it is hacked, the cost of recovery is much higher than a planned upgrade, and search engines will take action against pages containing malicious jumps, and it will take time to recover the inclusion.

What should we do if there are multiple sites running different branches on the same server?

Manage with parallel entry of multiple versions, direct the parsing of each site to its respective interpreter, and record the corresponding relationship of 'site—branch—deadline' in the table to prevent subsequent maintenance from mistakenly thinking that the overall upgrade has been completed.

How do you know which version the site is actually running?

Check the system information page in the background or execute the language version query command on the server; it is unreliable to only look at the version labels in the program settings, as those are just configuration items and not the actual runtime settings.

Related articles

The release time of the secure version is announced two days earlier to the public, and what should the site administrator do in the preview window

When the official announces the release time of the secure version in advance, the site administrator should complete three things within the preview window: check the affected range, make a rollback backup, and arrange the verification list after the upgrade. This article takes the PHP official advance notice of the key security version as an example, explains the steps of each step, and gives the upgrade window arrangement reference for AnQiCMS v3.6.6 to fix high-risk issues such as sorting parameter injection and login credential forgery.

2026-10-25

PHP core reveals remote code execution vulnerability without authentication, why is there no complete mitigation plan?

On October 21, 2026, the PHP official released emergency security versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35, fixing two vulnerabilities (CVE-2026-109618 and CVE-2026-109619) that can trigger remote code execution without authentication. Both are CVSS v4.0 9.2. The official has explicitly stated that there is no complete mitigation method, and upgrading is the safe choice; temporary mitigation can only gain time.

2026-10-25

The second AI recommended traffic has increased to about twenty-seven percent, should we prepare separate content for each assistant?

The statistics show that the referral share of the head assistant has dropped from about 76% to about 53% in more than half a year, and the second place has risen to about 27%. The reshuffle of shares indicates that it is difficult to sustain customized content for assistants, and a more stable approach is to make the same content into a structure that can be cited: self-contained sections, clear specifications, verifiable data, and unified expressions using TDK, automatic tags, and keyword libraries.

2026-10-25

The measurement report says there is no correlation between the AI citation rate and llms.txt. Should this file be retained?

A third-party measurement found in a sample of three million domain names that only about one-tenth of the sites have placed llms.txt, and there is no correlation between the AI citation rate and this file. This does not constitute a reason to delete it: this file is responsible for explaining the site content to the model, and crawling and inclusion still rely on site maps, pseudo-static addresses, and active push from search engines. This article explains the division of labor and zero-cost maintenance methods of both.

2026-10-25

How to estimate the patch burden for sites with many plugins after releasing three versions with security fixes in two months

When the content system releases versions with security fixes continuously within a short period, sites with many plugins will bear the cost of updating four layers simultaneously: core, plugins, themes, and runtime. This article takes the version records of the WordPress official news page in September and October 2026 as a sample, provides three methods to estimate the patch burden, and explains how built-in security capabilities and fewer external extensions can reduce the maintenance surface.

2026-10-25

AI summaries appear in about 48% of search results, is the natural click-through rate enough?

The statistics show that AI abstracts have appeared in about 48% of search queries, and the natural click-through rate will drop significantly when they appear. These numbers show that the click-through rate is no longer a conclusion available on its own: This article provides the three types of angles that webmasters should check (brand word search volume, AI recommended conversations, and data source), and explains how llms.txt, site maps, and keyword libraries can be used to observe them inside the site.

2026-10-25

The content system has its own template and decoupling solutions, how does the human resources input of a small team compare?

The system of bringing built-in templates and the decoupling scheme of only leaving interfaces, the difference does not lie in the number of functions, but in the distribution of manpower: the latter leaves the front-end and integration work within the team. This article breaks down the working hours of the small team into three stages: site construction, daily version updates, and content operation, citing the official definitions of the two architectures by Strapi, and explaining how content models, AI-assisted template modification, and deployment methods affect investment.

2026-10-25

What should be the sequence of handling after the login credentials of the content management system are forged

The handling sequence after the login credentials are forged is: first stop bleeding (tighten the entrance and limit the flow), then break the chain (rotate the signature key and make existing sessions invalid), then change the password and clear the permissions, finally use backups and logs to check if a backdoor has been left. This article takes the AnQiCMS v3.6.6 fixed site switching login credential forgery issue as an example and provides an executable emergency response list.

2026-10-25