Insights
PHP website maintenance, from firefighting to strategy
A PHP website is exposed by the lack of an owner long before it is exposed by the lack of technology. On the platforms we audit, the problem is almost never the WordPress or Magento version. It is that nobody is responsible for the PHP branch, the abandoned plugin or the backup that has never been restored. In October 2026, PHP2Shell turned that gap into days of exposure.
PHP2Shell was not a WordPress bug
On 21 October 2026 the PHP team shipped emergency releases for two critical vulnerabilities in the interpreter itself, CVE-2026-109618 and CVE-2026-109619, known as PHP2Shell. CVSS 9.2 and unauthenticated remote code execution. The flaw was not in WordPress, Magento or any plugin. It sat in the layer all of them run on.
CISA asked for immediate patching the same day. watchTowr saw the first exploitation attempts within twenty-four hours, and Patchstack had documented backdoors on WordPress installations before the week was out.
The ten-minute check to see whether a site is patched is in PHP2Shell, the flaw underneath WordPress and Magento. The question here is a different one. Why some organisations closed it in an afternoon while others, a week later, still could not say how many websites they had or which version each one ran.
Budget was not the difference. Four things were, and all of them are decided long before any incident. An up-to-date inventory, a supported PHP branch, a staging environment and a person or team explicitly tasked with acting.
A PHP website expires in six places at once
A PHP website is a stack of layers, and each one runs on its own calendar. Maintaining it means keeping all six under control, not just the one visible in the admin panel.
- The PHP interpreter. The branch (8.2, 8.3, 8.4) and the exact release. This is where PHP2Shell lived and where the remaining support time is decided.
- The CMS or framework core. WordPress, Magento, Drupal, Joomla or Laravel, each with its own releases and its own PHP compatibility matrix.
- Plugins, extensions, modules and themes. The layer that grows fastest and gets abandoned most.
- Code dependencies. Libraries installed through Composer or npm in bespoke builds. They never show up in a control panel.
- The server. Operating system, web server, database and certificates.
- Integrations. CRM, payment gateways, SSO and third-party APIs, which change their requirements without warning.
Managed hosting covers, at best, the fifth. That is why the question that best separates a provider who maintains from one who only hosts is a simple one. Which exact PHP version is serving each of your domains.
Almost no website falls behind by choice
The platforms that reach us with years of pending updates, whether they belong to universities, public bodies or companies, nearly always tell the same story. Nobody decided to stop updating. Something was simply missing.
What is missing most often is an owner. An agency built the site, a provider hosts it and the communications team edits it. Each assumes someone else handles updates, and the hosting contract says “managed”, which everyone reads as including the CMS. It does not.
Then comes the fear of breaking what works. Without staging and without a test list, every update is a leap in the dark, and one outage is enough for nobody to touch anything again. That fear has a predictable outcome. The site piles up four years of pending updates and one day has to apply them all at once, in a hurry, after an incident.
A single blocking piece weighs heavily too. A forms plugin abandoned by its author, a Magento extension that does not support PHP 8.2 or a bespoke theme using removed functions is enough to pin the whole platform to an unsupported branch. Replacing it costs money, so it gets postponed, and every month of delay makes it more expensive.
And there is the provider who is no longer around. Agencies that closed, freelancers who changed sector, in-house teams that left. The site works, but nobody has the documentation, the full set of credentials or the reasoning behind the technical decisions. In these cases the first job is rebuilding the inventory and recovering access, before updating anything.
All of these causes get worse for the same reason, which is that there is no inventory. The main site is current, but there is a subdomain from a 2019 event, an intranet on another server, a staging copy that was never switched off and an old form still receiving requests. In October 2026, several of the installations that took longest to patch were on nobody’s list.
Risk sets the maintenance level, not size
Not every website needs the same service. An institutional site with a contact form does not carry the same risk as a Magento store taking payments or a university intranet holding student data. This is the table we use to place each platform at a level.
| Level | What it includes | What it does not cover | Who it is for |
|---|---|---|---|
| One-off review | Inventory of installations and versions. Audit of PHP, core, plugins, dependencies and backups. Prioritised action list with estimated effort. Optionally, the initial update to land the site on a supported branch. | Whatever happens next. Nobody watches the advisories or applies the next patch. | Anyone inheriting a website without knowing what it contains. Anyone deciding between maintaining, redesigning or migrating. Anyone who needs evidence for a tender or an audit. |
| Ongoing maintenance | All of the above plus a monthly update cycle in staging and production, a written response time for critical patches, verified backups with tested restores, an annual review of the PHP branch and a monthly report with versions and evidence. | Infrastructure, unless agreed. 24x7 monitoring and out-of-hours incident response. | Corporate and institutional websites that generate business or reputation. Universities and public bodies with several sites. Organisations without a dedicated in-house technical team. |
| Managed operations | All of the above plus infrastructure (servers, CDN, WAF), monitoring and alerting, centralised logs, incident management with on-call cover and a documented, rehearsed recovery plan. | Feature development, which is contracted separately. | E-commerce on Magento or WooCommerce taking payments. Platforms holding sensitive personal data. Sites with traffic spikes or contractual availability obligations. |
There is a simple rule for deciding. If the website went down and nobody in the organisation would notice until a customer said so, it needs at least the second level. If it processes payments or personal data, the third is part of the cost of operating.
An unsupported PHP branch is debt with a due date
PHP publishes a new branch every November and withdraws support from old ones every 31 December. Each branch gets two years of active support, with bug fixes, and two more years of security fixes only. After that there are no patches, however serious the vulnerability. In October, branches 8.2 to 8.5 had a fixed release the same day. Older ones depended on each Linux distribution backporting the fix on its own.
| Branch | Released | Active support until | Security fixes until | What to do in November 2026 |
|---|---|---|---|---|
| 8.1 | November 2021 | Ended | 31 December 2025 | End of life. Migrate now, as a priority. |
| 8.2 | 8 December 2022 | 31 December 2024 | 31 December 2026 | Weeks left. Plan the move to 8.3 or 8.4 before year end. |
| 8.3 | 23 November 2023 | 31 December 2025 | 31 December 2027 | A sensible target for platforms with many extensions. A year of headroom. |
| 8.4 | 21 November 2024 | 31 December 2026 | 31 December 2028 | Recommended target if the CMS and extensions support it. |
| 8.5 | 20 November 2025 | 31 December 2027 | 31 December 2029 | For bespoke builds and new projects. Check extension compatibility. |
Distributions keep calendars of their own. Ubuntu LTS and Debian stable ship one PHP branch per release and keep backporting security fixes after php.net stops, which is why a server reporting PHP 8.1 may still be patched. The package changelog is the evidence, not the version string.
The branch does not choose itself either. Every CMS publishes a compatibility matrix and extensions lag behind it. Magento and Drupal are the strictest about minimum and maximum versions. WordPress core is more tolerant, but its plugins are not. That is why a branch change is planned a year ahead. On the platforms we maintain, reviewing the PHP calendar is a fixed item every January.
Updating without testing swaps one risk for another
Most teams that stop updating do so after an update that broke something. The answer is not to stop updating but to keep a short test list that is always run in staging before release and in production right after. A full automated suite is not needed to start. The list needs to exist in writing, and someone needs to run it every time.
- The home page and the three most visited pages load without errors and without PHP notices in the log.
- Forms submit and the mailbox or the CRM receives them. It is usually the first thing to break and the last thing anyone notices.
- Login to the admin panel and, where there is one, to the private user area.
- On stores, the full purchase cycle in test mode, with basket, payment, confirmation and email.
- Internal search, filters and third-party integrations (SSO, gateways, maps, analytics).
- The PHP and web server error logs for the following hour. Today’s deprecation notices are the fatal errors of the next branch change.
On large platforms this list becomes end-to-end tests that run on every deployment. What matters is not the tool but a list that reflects what the business actually depends on and changes when the website does.
Testing is not only technical either. A new plugin can break the contrast or the labels of a form and leave a public body, or since June 2025 many online stores under the European Accessibility Act, out of line with their accessibility obligations. That is why, on the public platforms we maintain, the accessibility review is part of the cycle, following the method in how we audit web accessibility for public sector organisations. Performance works the same way. Half a second more load time on a store shows up in sales before it shows up in any report, as we explain in web performance and e-commerce conversion.
What separates real maintenance from a monthly fee
This list can go straight into a request for proposal. A provider who genuinely maintains websites can commit to everything on it.
- Inventory of installations and versions, delivered in the first weeks and kept current, with the exact PHP version of each domain.
- Written response time for critical patches, in hours, and a clear definition of what counts as critical.
- A staging environment per platform and a minimum test list run before anything reaches production.
- Off-server backups, with a tested restore at least once a quarter and the recovery time measured.
- A version plan built on the official PHP calendar and the CMS compatibility matrix, reviewed every year.
- A monthly report with the versions in production, what was updated, what was postponed and why.
- Monitoring of availability and errors, with alerts going to someone who can act.
- An exit commitment. Documentation, access and repositories belong to the client from day one.
A contract limited to “monthly updates”, with no response time for critical patches, no staging and no report, leaves the website just as exposed. That was the situation of most websites on 20 October 2026.
The three public platforms we maintain, for a university and two public administrations, with WordPress and Magento sites spread across several hosts, were moved to PHP 8.3 in order of exposure during the week of the patch. It was possible because they already had an inventory, staging and a long-support branch, so the work meant running a known procedure rather than finding out what was there. What took longest were installations missing from the client’s own inventory.
It is the same method we follow when we take on an enterprise WordPress site or an inherited platform. For the detail, see ten things to do to tune up a WordPress site and what changes with WordPress 7.0. And if the doubt is whether the platform is still worth it, that debate starts here.
Frequently Asked Questions
There are two rhythms. Critical security patches are applied within hours or a few days of release, without waiting for a monthly window. Everything else (minor CMS releases, plugins, extensions and dependencies) is batched into a monthly cycle with staging and tests. And at least once a year the PHP branch is reviewed against the official support calendar so the jump is planned before it expires.
A branch with active support or, at minimum, security support with time left. In November 2026 that means 8.3, 8.4 or 8.5. PHP 8.2 only receives security fixes until 31 December 2026 and PHP 8.1 has been end of life since 31 December 2025. The final choice depends on the compatibility matrix of your CMS and its extensions.
Usually not. Managed hosting looks after the server, the operating system and sometimes the PHP versions available. It does not update your CMS, review your plugins or extensions, test that the site still works afterwards or know which bespoke dependencies your project has. Read the contract, and ask what exactly happened on your account on 21 October 2026.
A one-off review captures the state of the site at a point in time and leaves a list of actions. It helps you decide, it does not protect you. Ongoing maintenance takes responsibility for that list not growing again, with an update cadence, a response time for critical patches and a periodic report. Managed operations adds infrastructure, monitoring and incident response on top.
It can, which is why it is done in staging first. What usually breaks when changing branch is abandoned plugins or extensions, bespoke themes using removed functions and old libraries installed through Composer. A team with a method finds those points before touching production, fixes or replaces them, and only then updates. The real risk is not updating, because every year that passes makes the jump bigger.
No. PHP 8.2 stops receiving security fixes on 31 December 2026. From January 2027 any new vulnerability in that branch will go unpatched upstream, and you will depend on your Linux distribution backporting fixes, if it does at all. If your site is on 8.2, plan the move to 8.3 or 8.4 now, while there is still time to test extensions in staging.
A version inventory of every installation you own, a written response time for critical patches, a staging environment, backups with tested restores, a monthly report with the versions in production and an exit commitment with documentation and access. If they cannot tell you the exact PHP version of each domain within an hour, they are not doing maintenance.
To go from theory to practice
Enterprise WordPress, up to date. Built for the business you run.
More information