What this week’s PHP security alert means for websites and top tips for keeping your website secure
On Wednesday 21 October, the PHP project released emergency security updates for two critical flaws, now nicknamed PHP2Shell. The UK’s National Cyber Security Centre (NCSC) has been urging organisations to take immediate action. If you have a website, as almost every Cumbrian business does, there’s a good chance this includes you.
Headlines like this can be unsettling, and most of the coverage is written for IT departments rather than the owner of a guesthouse in Keswick or a joinery firm in Penrith. So here is what has happened, as jargon-free as we can get it, and what we’d suggest you can do about it.
PHP is the programming language that powers a huge share of the web, including every WordPress site. When someone visits your website, PHP runs on your hosting server and builds the page they see: your latest blog post, your booking form, your shop. It’s like a translation tool, taking the code and turning it into the framework you see and use.
Like any software, PHP is updated over time. Each version is looked after by the PHP project for four years: two years of full support, then two years of security fixes (or patches) only. After that, it reaches “end of life”, and no further fixes are released, however serious a newly discovered problem might be.
What happened this week was that two weaknesses were found deep inside PHP itself, not in any particular plugin or theme. Both are rated critical, and both could let an attacker run their own commands on a web server without needing to log in. In practical terms, that could mean a hacked website, stolen customer details or a server used to attack others.
The flaws affect every version of PHP from 5.4 right up to the latest release before this week’s fix. To make matters more pressing, details leaked online the day before the fixes were published, so attackers had a head start, hence why some of the big hitting websites decided to take their sites down to run through it all offline and check in detail.
Fixes have been released for the four versions of PHP that are still supported. Versions 8.1 and older have reached end of life, so the PHP project is not fixing them.
The National Cyber Security System (NCSC)’s advice is to identify where PHP is running, update to the latest version, and keep watching for further updates. You can read its alert in full on the NCSC website.
Usually, running an out-of-date version of PHP is a slow-burning risk. Your site keeps working and nothing visibly changes. This week shows how quickly that can turn. PHP 8.1 and everything before it are affected by these flaws, but no fix is coming for them.
That’s not a small group. WordPress’s own figures from September show that well over a third of WordPress sites run on a version of PHP that has reached end of life, and one in six is still on PHP 7.4 (source). For those sites, the only real fix is moving to a supported version.
If your site is on PHP 8.2, it can be patched now, but 8.2 itself stops receiving fixes on 31 December. It makes sense to plan the move to 8.4 or 8.5 at the same time, rather than going through this again in the new year.
Why this matters for Cumbrian businesses
So much of Cumbria’s economy runs through a website. Holiday cottages, B&Bs and campsites take bookings online. Cafés, farm shops and makers sell through them. Outdoor guides, trades and consultants rely on them to be found by people who have never set foot in the county.
Many of those sites were built a few years ago, often by a friend, a family member or a developer who has since moved on. They were built well, they do their job, and nobody has looked under the bonnet since. That’s completely understandable, but it is how sites end up quietly running on PHP 7.4 in 2026.
We’d normally suggest saving website maintenance for the quieter months. This time, we wouldn’t wait. With half term visitors arriving and Christmas and New Year bookings coming in, the last thing anyone needs is a compromised booking system, or a site that Google starts flagging as unsafe.
What to do this week
Whether you look after your own site or someone does it for you, as a web hosting company ourselves, these are the steps we’d take now.
- Find out which PHP version you’re on. In WordPress, go to Tools, then Site Health, then the Info tab, and open the Server section. Your hosting control panel will usually show it too.
- Ask your host whether the 21 October fix has been applied. On most shared and managed hosting, PHP is updated on the server for you. A short email asking “have you updated to the patched PHP release?” is all it takes, and a good host will reply quickly.
- If you’re on PHP 8.1 or older, move now. Aim for 8.4 or 8.5. Take a full backup first, update WordPress, your theme and plugins, then switch, and check your forms, shop and booking system straight afterwards.
- Keep an eye out for anything unusual. Admin accounts you don’t recognise, odd redirects or security warnings in your browser are all worth asking about.
This won’t be the last security alert, so it’s worth putting a few simple safeguards in place. If you don’t have secure web hosting with maintenance, where this is usually taken care of for you, there are still things every website owner should do to keep your site secure.
- Regular backup of your website/s, and preferably stored off your hosting account, so you can recover if the worst happens.
- Regular updates to WordPress, themes and plugins, with a yearly look at your PHP version.
- Remove what you don’t use. Deactivated plugins and old themes can still be exploited, even if you’re not using them.
- Tighter logins: strong, unique passwords, two-factor authentication, and no accounts left open for people who’ve moved on.
- Hosting that keeps pace, which tells you when versions are retiring and patches promptly when something like this happens.
If your host has applied this week’s update and you’re on PHP 8.2 or newer, you’re protected against PHP2Shell. If you’re on 8.2, plan your next move before the end of December. If you’re on 8.1 or older, updating should be at the top of this week’s list.
Most of this is straightforward, and plenty of business owners can sort it with a quick email to their host. If you’re not sure where your site stands, or you’d like a second pair of eyes, we’re happy to take a look and point you in the right direction. Just drop us a line at Wildbird; there’s no obligation, and a quick check now is far easier than a fix later.