php2shell fix guides
Pick your environment. Each guide shows how to find the PHP version you really run, update it, restart PHP and verify the fix. Fixed upstream releases: 8.5.12, 8.4.27, 8.3.36, 8.2.35; distribution packages can be fixed with an older-looking number.
UbUbuntuapt packages, Ubuntu Pro for 16.04–20.04, ondrej/php PPADeDebiantrixie and bookworm packages, Sury repositoryRHRHEL / AlmaLinux / Rockydnf errata, module streams, Remi repositorycPcPanel / WHMEasyApache 4 ea-php, CloudLinux alt-php, LiteSpeedPlPleskPlesk PHP handlers under /opt/plesk/phpaaaaPanel / BT PanelPHP compiled under /www/server/phpDkDocker / Kubernetesofficial php images, rebuild and redeployWPWordPress hostingHostinger, SiteGround, GoDaddy, Bluehost
Don’t know your environment? Run the checker on your site or start with the self-check commands.
Can’t update today? See mitigation.