Shared & managed hosting
PHP2Shell on shared and managed hosting
If someone else runs your server, they have to install the patched PHP. Your job: pick the newest PHP version for your site, check the exact version, and get your host to confirm.
Last reviewed 2026-10-28
Provider statuses change hourly
We list only what providers have publicly said. If your host is not here, it does not mean they are unpatched — ask them.
What to do
- Switch your site to the newest PHP version your panel offers (8.4 or 8.5 if available; test the site afterwards).
- Check the exact version the site runs — in your CMS (WordPress, Drupal, Joomla) or with the file below — and paste it into the checker.
- Ask your host to confirm the patch and the worker restart, using the message below.
- If no patched build is available: ask about vendor backports even on PHP 8.1 or older; isolate exposed services until patched and plan a migration.
<?php
// Save as v-<random>.php in your web root, open it in a browser, then DELETE it.
echo PHP_VERSION, ' ', PHP_SAPI, PHP_EOL;Where to switch PHP versions
| Panel | Where | How PHP gets patched |
|---|---|---|
| cPanel | Software → MultiPHP Manager (or Select PHP Version on CloudLinux) | EasyApache 4 25.91 was released on 21 October with fixes for both CVEs in ea-php74–ea-php85. Ask the host to confirm installation and worker restarts; CloudLinux alt-php has a separate update channel. |
| Plesk | Websites & Domains → PHP (PHP Settings) | Plesk’s advisory confirms PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 for Linux and Windows. Linux backports retain 7.4.33, 8.0.30 and 8.1.34: verify a build dated 21 October 2026, not the version alone. Separately, Obsidian 18.0.81 Update 4 and 18.0.80 Update 11 update the internal PHP engine on both platforms; the changelog names plesk-engine and sw-engine at PHP 8.4.27. Confirm installation and restarts for the site handler and panel engine independently. |
| DirectAdmin | Account Manager → PHP version selector (if enabled by the host) | Builds via CustomBuild; the host has to rebuild PHP. |
| CloudLinux (behind many hosts) | Select PHP Version | CloudLinux completed its stable-repository release at 00:07 UTC on 22 October: alt-php 5.2–8.5 on CloudLinux OS 7, 8 and 9; CloudLinux OS for Ubuntu 22.04 has alt-php 5.2, 5.6 and 7.0–8.5. On CloudLinux OS 10, alt-php comes from the ELS ALT PHP repository (5.2 from stable). ea-php52–ea-php85 are fixed too. A regular update installs them, but security-only updates (yum --security) do not list them yet because advisory metadata is unpublished. Native PHP: the 22 October 19:50 UTC update confirms all affected native packages in stable: CL10 PHP 8.3; CL9 8.0/8.1/8.2/8.3; CL8 7.2/7.3/7.4/8.0/8.2; CL7 5.4 via TuxCare ELS. For native 8.2/8.3, verify 8.2.35/8.3.36 or later; those changelogs omit CVE IDs. On 23 October 00:08 UTC, CL8/CL9 stable also gained alt-php82/83/84/85 builds 8.2.35-1 / 8.3.36-1 / 8.4.27-1 / 8.5.12-1. Earlier fixed backports, such as alt-php85 8.5.11-5, already fix both CVEs; this aligns version numbers, not a new vulnerability fix. Match the package and channel to the advisory and restart PHP services. |
| hPanel (Hostinger) | Usually Advanced → PHP Configuration | Hostinger’s 22 October 06:44 UTC update confirms PHP upgrades across all managed hosting servers. For Web, Agency and cPanel Hosting, the vendor says no client update is needed. Its backport can still display 8.5.11: verify a Build Date of 21 October 2026 or later in hPanel → Websites → Dashboard → PHP Info. This build-date test is specific to Hostinger; VPS customers must update PHP themselves. |
Server admins running these panels: commands are in the patch guide (cPanel and Plesk tabs). Google Cloud guidance distinguishes supported App Engine Standard runtimes, which update automatically, from App Engine Flexible, which requires redeployment. Cloud Run services/functions depend on automatic base image updates being enabled; custom images require rebuilding and redeployment. Update GKE images and redeploy pods. Verify the runtime actually serving traffic; using a managed platform alone does not establish patching.
Message for your host
Subject: PHP2Shell (CVE-2026-109618 / CVE-2026-109619) — patch status
Hi,
Please confirm that the PHP runtime serving my site(s) <domain> has been
updated to a release that fixes CVE-2026-109618 and CVE-2026-109619
(PHP 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 or a vendor build with the backport),
and that PHP-FPM / LSAPI workers were restarted afterwards.
If my account is on PHP 8.1 or older, please tell me which patched version
I can move to.
ThanksQuestions
Can I patch PHP myself on shared hosting?+
No. The host owns the PHP binaries. You can switch your site to a newer PHP version in the panel, but the patched builds have to be installed by the host.
My host only offers PHP 8.1 or older. What now?+
Ask whether they ship a vendor-backported build (CloudLinux and some panels do). If not, that host cannot protect you from PHP2Shell — plan a move, and put a WAF such as Cloudflare in front in the meantime.
Does selecting PHP 8.4 in cPanel fix it?+
Only if the host has installed the patched 8.4 build (8.4.27 or a backport). Selecting a branch does not update it. Check the exact version after switching.
Related
- aaPanel / 1PanelFixed PHP2Shell builds in aaPanel (宝塔) and 1Panel, including patched PHP 7.x, 8.0 and 8.1, with update steps, restarts and verification.
- WordPressIs your WordPress site affected by PHP2Shell? How to find your PHP version in Site Health, why plugin updates do not help, and a message to send your host.
- Cloudflare WAFCloudflare’s PHP2Shell WAF rule IDs for Free and paid plans, how to confirm they are active and blocking, and why you still need to patch PHP behind Cloudflare.
- Website & version checkerCheck a website’s public PHP signals by URL, or paste a PHP version. Understand PHP2Shell patch status, limits and what to ask your hosting provider.