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.