The October PHP flaw: why my sites stayed online
In October 2026, large and small sites went offline because of two flaws in PHP. I explain in plain language what happened and why my sites kept running.
Dheeraj
· 5 min read

On Wednesday 21 October an unusual number of Dutch websites went dark at the same time. MijnOverheid, DigiD, the website of the Tweede Kamer (the Dutch House of Representatives), RTL Nieuws and Tweakers were unreachable for part of the day. There was no outage and no break-in. They went offline as a precaution, because a serious flaw had become known for which there was no fix yet.
You may have had an email from your web designer or hosting company that day. Below I explain in plain language what was going on and why the sites I build kept running.
What is PHP?
is a programming language used to build a large share of all websites. WordPress, which many business owners' sites run on, is written in it, as are many online shops and customer portals. When someone opens a site like that, PHP assembles the page on the and sends it to the visitor.
Because PHP sits underneath so many sites, a flaw in PHP itself hits millions of sites at once.
What was wrong?
Researchers found two flaws in the way PHP handles the server's memory. In one, PHP gets tangled up halfway through a visit when memory runs out, and then cleans up incorrectly. In the other, something is left behind after a visit that the next visit still uses, even though it has already been cleared away.
The consequences can be serious: with a carefully crafted request, an attacker may be able to make the server run their own commands. They don't need to log in, and it doesn't matter how well the website itself is built. Both flaws scored 9.2 on the , which runs up to 10.
Why did so many sites go offline?
Normally a flaw gets fixed quietly first, and the outside world only hears about it once the fix is ready. This time was different. On Tuesday 20 October news leaked that PHP had two serious flaws, before the fix was ready. So the PHP developers brought their update forward by a day.
That created a gap of about a day: everyone knew about the flaw, but nobody could close it yet. Attack attempts had also been spotted already. Amazon saw one on 17 October, four days before the announcement. Organisations that didn't want to take any risk took their sites offline until the update was installed. Some hosting companies also took their customers' sites offline.
The update came out on 21 October at 4 pm Dutch time. After that, administrators could update their servers and switch the sites back on.
Why a WordPress update didn't help
If you manage a WordPress site yourself, a flaw quickly makes you think of the Update button. That didn't help here. The flaw wasn't in WordPress but in PHP, the layer underneath. Think of a block of flats: you can replace the lock on your own front door, but if the building's main entrance doesn't close, that won't do you much good.
Updating PHP is usually the hosting company's job. On shared hosting, you often can't even do it yourself as a customer.
Why my sites stayed online
The sites I build don't use PHP. I build them with , and they run on . The component the flaw was in doesn't exist in my sites. So on 21 October I didn't have to take anything offline or update anything at the last minute: there was nothing to fix for these sites.
I also don't use like the ones you know from WordPress. There, an outdated plugin is often how a site gets hacked. The fewer parts a site has, the fewer places there are for things to go wrong.
So my sites never have a flaw?
No, and don't believe anyone who promises that. Node.js and Next.js get a security update now and then too. The difference is that I do those for you: security updates are part of the hosting plan that comes with every site, and you don't have to think about them. Only when custom work I built specially for your site has to be changed do you get a fixed price for that first.
Do you have a website that does run on PHP?
If your site runs on WordPress or another PHP technology, go through these points:
- Ask your hosting company. Ask whether PHP has been updated to version 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer. A good hosting company can tell you straight away.
- Watch out for old versions. For PHP older than 8.2 there is no regular update. For versions 7.4 to 8.1 there are only separate patches, which your hosting company has to apply itself, and for even older versions there's nothing. In that case moving to a newer version is the only real fix.
- Ask whether anyone checked for misuse. An update closes the flaw, but it doesn't throw out a burglar who was already inside. If your site was still on an old version in the days around 21 October, ask whether your hosting company checked for anything unusual.
- Update WordPress and plugins too. That didn't fix this flaw, but it still matters for the flaws that are in WordPress and plugins themselves.
Want to be rid of this kind of worry, or find out what switching would mean for your site? Send me a message.
Sources
- NOS: Government and education websites offline because of flaw (in Dutch) (opens in a new tab)
- NOS liveblog: MijnOverheid and DigiD back online (in Dutch) (opens in a new tab)
- Tenable: frequently asked questions about php2shell (opens in a new tab)
- Help Net Security: PHP2Shell patched (opens in a new tab)
Frequently asked questions
Can I switch from WordPress to Next.js?
Yes, I'd be glad to help you with that. Send me a message and I'll tell you what's possible. It doesn't commit you to anything.
Do you host WordPress websites too?
No, I don't host WordPress sites. A WordPress site is like a car with parts from all sorts of brands bolted on: it runs, but there's always something that needs attention. I build your site as a single whole, so it stays fast and less can break. A site that works isn't enough for me. It also has to be put together well.

About the author
Want a site of your own that's fast and gets found?
I'm Dheeraj, and as Fluxaro I build websites for business owners, from design to hosting. Whatever I write about here, I apply to every site I deliver.


