
Changing the PHP version on your hosting: a test plan
- Web developing
- November 27, 2026
Table of contents
When your host announces a PHP upgrade, decide how you will verify that the website still works and when you can make the switch. Test on a copy that represents production. Find out which sites and jobs will use the new version and what recovery options will be available if something fails.
Identify the PHP version used by each part of the site
Check the runtime used by the live domain, the staging site and any command-line or scheduled jobs. Depending on the hosting setup, the version selector may apply to one site or a group of domains. A scheduled job may invoke a different PHP binary from the one serving web requests. Ask the provider to confirm the scope if the panel leaves it unclear.
Record enabled extensions and relevant configuration. Check whether the CMS, third-party components and custom code support the intended runtime. The list of supported PHP branches changes over time. Compare what your host offers with application requirements and any deadlines in the upgrade notice.
Rehearse the PHP switch on staging
Set up a protected copy with representative configuration and test data. Isolate integrations and outgoing mail that could otherwise affect customers or live systems. Run the tests on the current version first, then repeat on the target version. That gives you evidence to distinguish existing defects from changes introduced by the upgrade.
| Area | Example check |
|---|---|
| Site administration | Sign in, save a change and upload a file |
| Public features | Submit a test form or run a search |
| Integrations | Check that the test service responds as expected |
| Scheduled jobs | Run a synchronisation in its intended execution context |
| Logs | Compare warnings and errors produced during the tests |
When a test fails, record the exact action and identify who maintains the relevant component. An abandoned dependency may need replacing or changes to custom code. If a deadline is approaching, resolve any issues with critical features before setting the release date. If WordPress is already failing, see the guide to reading PHP and memory errors.
Agree on a release window and recovery plan
Ask whether the previous PHP version will remain selectable and for how long. Keep a copy of files, database and settings. If your hosting plan includes phpMyAdmin, test the database restore in isolation. If you also need to upgrade the CMS or an extension, account for any changes those updates make to the database. Switching PHP back may be insufficient once the application itself has changed.
Agree on a release window, who will test business workflows and which failures require you to halt the rollout. Repeat the priority tests afterwards and check the scheduled jobs during their next relevant run.
If one subscription hosts several sites, record which share a runtime setting and which you can test independently. If the provider lets you stagger the rollout, start with a site whose dependencies and recovery steps you have already verified. Use what you learn to update the checks for the other sites, where extensions, components and scheduled work may differ.
If you have received a PHP upgrade notice, contact me about your hosting setup. I can review the environment and help plan the switch as part of a wider hosting management handover.




















