PHP 8.2 reaches end of life in December. Is your Drupal or WordPress site ready?
PHP 8.2 stops receiving security fixes on 31 December 2026. Here's what that means for Drupal and WordPress sites, and how to plan an upgrade that doesn't break custom code.
PHP 8.2 stops receiving security fixes on 31 December 2026. After that date, any new vulnerability in the interpreter stays open on 8.2 servers for good. PHP 8.1 already reached this point at the end of 2025. If your site runs on either version, the upgrade belongs on this quarter's plan, not next year's.
Why it matters more than usual this year
The PHP2Shell flaws disclosed in October show what an unsupported runtime costs you. Supported branches got a fixed release the same day. End-of-life branches only got source patches, which most hosting providers will never build or ship. A site on an unsupported PHP version has no straightforward way to close a vulnerability like that.
Where Drupal and WordPress stand
- Drupal 11 already requires PHP 8.3 or newer, so Drupal 11 sites are covered
- Drupal 10 still runs on older PHP versions, so many Drupal 10 sites are sitting on 8.1 or 8.2 without anyone having noticed
- WordPress core runs on newer PHP versions, but older plugins and bespoke themes are where upgrades usually break
- Composer-managed sites may have PHP version constraints pinned in composer.json that need lifting first
What usually breaks
Core is rarely the problem. The failures we see come from contributed modules or plugins that are no longer maintained, custom code that relied on deprecated behaviour (dynamic properties are the most common one since PHP 8.2), and old libraries that were vendored into a theme years ago and never updated.
A sensible upgrade path
- Inventory every site and the PHP version it actually runs in production, not what the documentation says
- Run a static compatibility scan (PHPCompatibility via PHP_CodeSniffer) against custom modules, themes and plugins
- Upgrade staging to PHP 8.3 or 8.4, then run the full editorial and checkout workflows, not just the homepage
- Fix deprecation notices in logs before switching production, because today's deprecations become the next version's fatal errors
- Schedule the production switch with a rollback path to the previous PHP-FPM pool
We handle PHP upgrades across Drupal and WordPress estates, including compatibility fixes for custom and abandoned modules, so the runtime switch is routine.
See Drupal support →Related articles
Shopify's legacy checkout customisations are gone. Check what stopped working
With the last legacy Thank you and Order status page scripts switched off, some stores have lost tracking, upsells and post-purchase integrations without noticing. Here's what to check.
6 Oct 2026 · 4 min readPlatform updatesStill on Strapi v4? Planning the move to v5
Strapi v5 changes the content API response format, the Document Service and the plugin system. Here's how to scope the upgrade without breaking your front end.
29 Sep 2026 · 5 min readPlatform updatesDrupal's Experience Builder goes stable — what changes for content teams
Drupal 11.2 ships Experience Builder as a stable, default-on visual page-building layer. Here's what it actually changes for editors, and what site builders need to configure first.
14 Aug 2026 · 5 min readStay ahead of the next release
Security alerts, platform updates and industry analysis — straight to your inbox.