Google On Taking Sites Down When Fixing The Emergency PHP Exploit - PHP2Shell

Oct 21, 2026 - 11:35 am 3 — by

Php Logo Explode

The World Wide Web is rushing now to fix and patch its servers for the critical PHP exploit known as PHP2Shell. Most are able to patch these without downtime but many sites are going offline until the patch is implemented, just to be super safe. Google's John Mueller offered advice on how to handle Google Search if you decide to take down your site while patching it for the PHP security vulnerability.

If you are unaware of this PHP issue, in short, PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 now have a fix for two critical vulnerabilities that can allow unauthenticated remote code execution. So everyone is rushing to patch things up asap before the evil people or bots begin attacking. There is tons of coverage of this summed up on Techmeme.

In fact, many sites are being taken offline, to be super cautious, until the PHP patches are in place. "Several government, school and hospital websites in Europe were taken offline on Wednesday as organizations rushed to protect themselves from two critical security flaws in PHP, a programming language that powers a large share of the ​internet," Reuters reported.

If you are taking that approach, Google's John Mueller provided advice on how to take down your site, so that it won't result in long term ranking or indexing issues for your site in Google Search. John wrote on Bluesky, "If you're taking PHP sites down to schedule time to deal with "unplanned updates", use HTTP 503 instead of letting responses time out / 404 / 500. You can do this outside of PHP / point DNS elsewhere / CDN."

Google has spoken about this before in similar cases but Google also has older documentation on this - here are links to those documents:

Google has given similar advice in 2021 with the Log4j security vulnerability.

Here is some of our previous coverage of how Google Search handles sites being down and what to do:

Here is John's post:

If you're taking PHP sites down to schedule time to deal with "unplanned updates", use HTTP 503 instead of letting responses time out / 404 / 500. You can do this outside of PHP / point DNS elsewhere / CDN. developers.google.com/search/blog/... developers.google.com/search/docs/...

[image or embed]

— John Mueller (@johnmu.com) October 21, 2026 at 11:26 AM

Forum discussion at Bluesky.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google On robots.txt Rules For AI Crawlers, Emojis, International URLs & More

Oct 21, 2026 - 1:25 pm
Google Search Engine Optimization

Google On Taking Sites Down When Fixing The Emergency PHP Exploit - PHP2Shell

Oct 21, 2026 - 11:35 am
Search Forum Recap

Daily Search Forum Recap: October 21, 2026

Oct 21, 2026 - 10:00 am
Google Search Engine Optimization

Google Updates Control What You Share With Google Search With Existing Options

Oct 21, 2026 - 9:14 am
Google Updates

Google Search Ranking Volatility & Chatter Heats Up October 20 & 21

Oct 21, 2026 - 7:51 am
Google Ads

Google Ads New: Save & Test Asset Group Changes

Oct 21, 2026 - 7:41 am
Previous Story: Daily Search Forum Recap: October 21, 2026