By Greg Nowak. Updated 8 November 2026.
PHP 8.2 reaches end of life on 31 December 2026. With less than eight weeks remaining, business owners and agency teams need a clear answer: which sites can move now, which need development work, and who is responsible for getting each change into production?
A hosting control panel may make switching PHP look simple. The work sits around that switch: checking dependencies, testing customer journeys, coordinating suppliers, and making sure recovery is possible if something breaks. Here is how I would structure the remaining work.
What the deadline means for your business
Your website will not automatically stop working on 1 January. The deadline means the PHP project stops providing security fixes for PHP 8.2, according to its supported versions schedule. Continued operation and continued security maintenance are different things.
If your host offers extended maintenance, ask which packages it covers, when that coverage ends, and who handles application compatibility. Treat any delay as a documented exception with an owner and a migration date. A vague assurance that the server is supported leaves too much unanswered.
Choose a destination that fits the application
PHP 8.4 receives upstream security support through December 2028; PHP 8.5 through December 2029. That makes both useful candidates. My recommendation is to choose the longer-lived branch your application and hosting environment can support reliably.
The WordPress Hosting handbook recommends PHP 8.4 or later for production. It lists PHP 8.4 support for WordPress 6.7 onward and PHP 8.5 support for 6.9 onward. Core compatibility still leaves plugins, themes, custom code, and integrations to check.
| Workload | Starting decision | Evidence needed before approval |
|---|---|---|
| Maintained WordPress site | Evaluate PHP 8.5; use 8.4 where compatibility requires it | Compatible core, plugins, themes, must-use plugins, and tested business journeys |
| Drupal 11 | PHP 8.4, or 8.5 on a compatible minor | Exact core minor, contributed modules, Composer packages, Drush, and extensions |
| Drupal 10 | Coordinate the CMS and PHP upgrades | Drupal 11 readiness and a plan for the earlier CMS deadline |
| Custom PHP application | Choose a supported branch after dependency review | Framework support, private packages, extensions, background jobs, and staging results |
Drupal needs particular attention. Its PHP compatibility table lists PHP 8.5 support from Drupal 11.3, while Drupal 10 does not support it. More urgently, Drupal 10 reaches end of life on 9 December 2026. Moving a Drupal 10 site to PHP 8.4 alone leaves that separate deadline unresolved.
Inventory the jobs behind the website
Create one record per application: business owner, technical maintainer, host, CMS version, PHP version, target version, blockers, and production window. Prioritise sites that take payments, generate leads, or connect to operational systems.
For the technical inventory, run these commands in the application’s execution environment, using its normal account. Run the Composer check from the project directory where Composer manages dependencies:
php -v
command -v php
php --ini
php -m | sort
composer check-platform-reqsOn Linux hosts using systemd and PHP-FPM, also inspect the services:
systemctl list-units --type=service 'php*-fpm.service'These checks describe the selected command-line environment. Confirm the web runtime separately through the hosting panel or CMS status report, then inspect cron, queue workers, containers, and deployment scripts. They may use different PHP binaries or configuration.
Composer’s platform check validates the real PHP and extension versions against installed package requirements, ignoring simulated config.platform settings. Run it again under the target runtime. A passing result does not prove that application behaviour is correct.
Test the journeys that keep the business running
Build staging with production-like code, configuration, extensions, and representative data. Restrict access and prevent test payments, emails, or integrations from triggering real customer activity. Resolve required CMS and dependency updates there, with a recorded deployment version.
Agree a short acceptance checklist with the person who uses the site. Cover login, editing, publishing, forms, media uploads, search, checkout or booking, confirmation emails, imports, exports, and external integrations. Run scheduled tasks and queue processing explicitly; waiting for a homepage to load misses most of this.
Review application, PHP, web-server, and worker logs. Compare warnings and deprecations with the existing baseline. Test the exact maintained patch release your host will deploy, and check its known issues before scheduling production.
For agencies, group similar sites to share preparation, but retain acceptance results for each site. A clean brochure site cannot establish that a shop’s payment extension works.
Make rollback match the change
Before approval, record the previous runtime and configuration, application release, dependencies, backup location, restoration steps, and rollback trigger. Confirm someone can execute those steps during the maintenance window.
Switching PHP back may be enough for a runtime-only change. It may fail after dependency updates or database migrations. For shops and booking systems, restoring an old database can also discard new transactions. Decide how writes will be paused or reconciled before changing production.
Keep operating-system and database upgrades separate unless a dependency requires them. Where a combined move is necessary, consider a parallel host so testing and recovery remain manageable.
Use November for decisions and testing
Finish the inventory and assign blockers now. Use November for compatibility work, staging tests, and initial production batches. Prioritise Drupal 10 ahead of its 9 December deadline, and leave December capacity for remaining PHP migrations and recovery work.
After each batch, check errors, response times, forms, transactions, and background processing through a complete scheduled-job cycle. Close the task when the business checks pass and the operational record is updated.
If responsibility is split between your agency, host, and internal team, Greg can help establish the inventory, resolve ownership, and coordinate a staged upgrade. Talk to Greg about planning your PHP migration.
Related on GrN.dk
- PHP 8.2 Support Ends in December: Audit Your CMS Estate
- CMS Upgrades in 2026: Choosing the Right PHP Version for WordPress and Drupal
- MariaDB 10.6 EOL: a practical CMS hosting upgrade plan
Need help with this kind of work?
Plan your PHP migration with Greg Get in touch with Greg.