Marketing Scandigital scan
Trust & security

Should I take my website offline because of the PHP flaw?

21 October 2026 · 4 min read · Marketing Scan

Editorially updated:

This article was translated from Dutch.

Short answer: usually not. Take your site offline only if it runs vulnerable PHP, handles sensitive data and cannot be updated within a day or two. Otherwise, promptly updating to PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12 is better.

On 21 October 2026, Smartschool, DPG Media, FPS Finance, hospitals including UZ Gent, UZA and AZ Oostende, Flemish government websites and VRT went offline as a precaution against php2shell. Should you follow? Here is how to choose.

In this article

Why did large organisations take websites offline?

Not because they were hacked. On 21 October, the CCB reported no confirmed successful Belgian attacks, according to VRT NWS. It was precautionary, as Techpulse also describes.

These organisations often have many websites and systems processing student, patient or tax information. Checking and updating everything takes time. Going offline quickly removed risk while checks continued. A small business with a single site can often solve it with an update.

When is taking your site offline sensible?

Consider taking it offline or using a maintenance page if at least a situation below applies:

  • Vulnerable PHP and nobody can update within a day or two.
  • Sensitive data processed, including customer accounts, medical or legal information and uploaded documents.
  • PHP 8.1 or earlier. No fix will arrive. Upgrading to at least 8.2 can take longer than a routine update.
  • Signs of an existing intrusion, such as unknown administrators, strange redirects or unrecognised files.

When is going offline unnecessary?

Stay online in these circumstances:

  • your site does not use PHP, such as Shopify, Wix or Squarespace;
  • your host or developer confirms the server is updated, including the version;
  • an update is scheduled today or tomorrow and no sensitive data is processed.

A brochure site without forms has lower risk, but is not safe. Attackers can alter it, redirect visitors or misuse the server. Updating remains necessary. Check PHP usage with the free Marketing Scan PHP check if unsure.

What does maintenance mode do and not do?

A WordPress maintenance plugin displays a tidy notice, but itself uses PHP. Every request still passes through vulnerable PHP, so it offers little protection against this flaw.

To really go offline, ask for a server-level static page without PHP. Use status code 503 so search engines understand the outage is temporary.

What does being offline cost?

You lose contact enquiries, shop orders and Google visitors. Going offline is a temporary emergency measure rather than a solution. Agree who restores the site and when: once PHP has been updated and checked.

Is a firewall an alternative?

Partly. Cloudflare observed initial attempts and deployed extra rules, reports VRT NWS. A firewall can slow attacks, but Patchstack identifies updating as the only complete solution.

Decide in five minutes

  1. Identify PHP usage through the free check or your developer.
  2. Ask for the exact version and update timing.
  3. Updating today or tomorrow? Stay online and follow up.
  4. Longer delay and sensitive data? Arrange a server-level static maintenance page.
  5. After updating: restore the site and check for unknown administrators or files.

Frequently asked questions.

Should I take my website offline because of php2shell?

Usually not. It makes sense when the site runs vulnerable PHP, handles sensitive data and cannot be updated within a day or two.

Why did Smartschool go offline?

As a precaution. Large organisations handling sensitive data across many systems went offline while checking. On 21 October 2026, the CCB still reported no successful Belgian attacks.

Does WordPress maintenance mode protect against the flaw?

Hardly. A maintenance plugin itself uses PHP, leaving vulnerable PHP running. A server-level static page does protect.

How long should my website stay offline?

Until server PHP is updated to 8.2.35, 8.3.36, 8.4.27 or 8.5.12 and your developer has checked for intrusions.

Is my Shopify shop affected?

No. Shopify manages servers; you have no PHP installation to update. Your shop need not go offline.

Sources for this article

How does a marketing scan work? Audit methodology

Turn advice into action for your website

Create a free account. Save your website in your dashboard and follow its score and improvements in one place.

Create your free account

More about trust & security.

Trust & security

PHP vulnerability (php2shell): what business owners should do

Two critical PHP vulnerabilities let attackers take over websites. Here is what to arrange today, even if you have no technical knowledge yourself.

· 4 min read

Updated:

Trust & security

PHP vulnerability: what should you email your developer?

Ready-to-copy emails about the PHP vulnerability for your host, developer and follow-up, plus how to recognise whether their answer is specific enough.

· 4 min read

Updated:

Trust & security

Is my website vulnerable to the PHP flaw? How to check

Find out in four steps whether your website is vulnerable to the October 2026 PHP flaw, without technical knowledge and without putting your site at risk.

· 4 min read

Updated:

Trust & security

Online shops and the PHP flaw: protect customers and payments

WooCommerce, PrestaShop and Magento use PHP. Protect customer data and payments after php2shell and understand when a personal-data breach must be reported.

· 4 min read

Updated:

Visibility & SEO

Shopify AI knowledge base: what merchants should check

Shopify moved its AI knowledge base into the admin. Check published store facts, return policies and migration before January 15, 2027 with this checklist.

· 4 min read

Measuring & insight

Google Tag Manager for beginners: a small business guide

Google Tag Manager without jargon: understand tags and triggers, set up GTM for your small business and correctly connect your cookie banner to your tags.

· 7 min read

Updated: