Business domain and DNS management: access and renewals Business mailbox management for a growing team Changing the PHP version on your hosting: a test plan Hosting migration checks before closing the old account Hosting resource limits: when is an upgrade worth it? How to test a database backup with phpMyAdmin Outsourcing website hosting management: a handover guide Interactive map with multiple GPX tracks in Leaflet Elementor text alignment not working? Trace the CSS conflict Forms, search and bookings: adding static website features Migrating Joomla to a static website: content, menus and SEO Migrating WordPress to a static website: benefits and SEO checks Static website hosting and maintenance: costs and management Static website SEO: content, indexing and performance Updating an HTML website with AI: a practical review process Business domain and DNS management: access and renewals Business mailbox management for a growing team Changing the PHP version on your hosting: a test plan Hosting migration checks before closing the old account Hosting resource limits: when is an upgrade worth it? How to test a database backup with phpMyAdmin Outsourcing website hosting management: a handover guide Interactive map with multiple GPX tracks in Leaflet Elementor text alignment not working? Trace the CSS conflict Forms, search and bookings: adding static website features Migrating Joomla to a static website: content, menus and SEO Migrating WordPress to a static website: benefits and SEO checks Static website hosting and maintenance: costs and management Static website SEO: content, indexing and performance Updating an HTML website with AI: a practical review process
Changing the PHP version on your hosting: a test plan

Changing the PHP version on your hosting: a test plan

Author Graziano De Maio - Gdmtech
I wish you a good read and remember: if after reading this article you need help, don't hesitate to contact me.
Author: Graziano De Maio | Founder of Gdmtech
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.

AreaExample check
Site administrationSign in, save a change and upload a file
Public featuresSubmit a test form or run a search
IntegrationsCheck that the test service responds as expected
Scheduled jobsRun a synchronisation in its intended execution context
LogsCompare 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.

Author Graziano De Maio - Gdmtech
I wish you a good read and remember: if after reading this article you need help, don't hesitate to contact me.
Author: Graziano De Maio | Founder of Gdmtech