Issue 22
The software under your website has an expiry date
Every WordPress site runs on a version of PHP your host chose years ago. Every version eventually stops receiving security fixes. Here is how to find yours in 2 minutes, how to tell whether it is still supported and how to move up safely without taking the site down.
One lesson: find the PHP version your site runs on in 2 minutes, check whether it still receives security fixes and know what to do before it stops.
Your WordPress site runs on PHP. Checking its version and planning updates on a staging copy can reduce the risk of relying on unsupported software.
WordPress is written in a language called PHP. Your host runs a particular version of it and somebody picked that version on the day the site was built. Often that was years ago and nobody has looked at it since.
Here is the problem. Each PHP version is supported for a fixed period and then it stops receiving security fixes. After that date the PHP project no longer provides fixes for that branch; some hosts or vendors may provide their own extended security support. Your plugins can be fully up to date and the site can still be running on a foundation that no one is patching.
There is a second cost that is easier to feel. A newer PHP version may also improve performance, though the effect depends on the site and hosting.
How to find your version in 2 minutes
Log in to WordPress and go to Tools, then Site Health, then the Info tab. Open the Server section and look for the line that says PHP version. That is the number you need.
Now compare it with the official list at php.net/supported-versions. It shows 2 dates for every version: when active support ends and when security support ends. If your version has passed the second date, it is unsupported. If it ends within the next few months, it is time to plan the move.
On LoftPlan, which I have looked after since 2018, PHP upgrades are part of routine maintenance and the work is rarely the upgrade itself. It is finding the plugin that throws an error on the new version and fixing it so the site keeps running.
Why people put it off
The honest reason is fear. Changing PHP can break a site if an old plugin or theme relies on features that no longer exist. A white screen on a live shop is a good reason to leave things alone and that is exactly how sites end up 3 versions behind.
The answer is not to avoid the change. It is to make the change somewhere safe first.
How to move up without breaking anything
First, take a full backup and make sure you know how to restore it. Issue 20 covered why that matters.
Second, make a staging copy of the site. Most good hosts offer this in one click. Issue 21 covered the safe copy workflow in more detail.
Third, switch the staging copy to the newer PHP version. Your host's control panel will have a PHP setting, usually under a heading such as Software, Languages or Server. Then click through the pages that earn money: the homepage, a service or product page, the contact form and the checkout if you have one. Turn on WordPress debug logging while you do it, so any warnings are written down instead of lost.
Fourth, if something breaks, the cause is almost always one old plugin or theme. Check whether it has an update, find a maintained replacement or ask the developer. Do not leave the site on the old version because of one abandoned plugin.
Finally, repeat the change on the live site at a quiet time and test the same pages again straight afterwards. If anything misbehaves, use the rollback plan you agreed with your host; restoring a site may take longer and can affect recent data.
A sensible target is the newest version that your host offers and that your plugins support and never one that has passed its security end date.
The featured read this week is the supported versions page on php.net. It is one table, it is kept up to date by the people who maintain PHP and it is the quickest way to see how much time your version has left.
If you would like a quick view of how well looked after the rest of your site is, the Maintenance Risk Check is a good next step. When you would rather someone tested the upgrade on a staging copy, fixed what it exposes and moved the live site for you, that is part of what a fixed-price proposal can cover.
Each issue is written to stay useful after send day. This one lives in the archive, filed by topic, so you can come back to it when your host sends its next end-of-life notice.
How we can work together
Reply with your PHP version and your host's name and I will tell you whether it is safe to move up and what to test first.
How we can work together
If you want a second pair of eyes on your WordPress stack, use the archive as a starting point, then take the next step that fits your stage.
Reply with your PHP version and your host's name and I will tell you whether it is safe to move up and what to test first.
