Still on PHP 8.1, 7.4 or older?
You won’t get a fix. You’ll need to upgrade to PHP 8.3 or 8.4 first, then apply the patch. We recommend skipping 8.2: it’s patched, but its security support ends on 31 December, so you’d be doing this again in two months.
Older themes and plugins can break on a newer PHP version. Always test the upgrade on a staging copy before touching your live site.

How to check your PHP version
- WordPress: Tools → Site Health → Info → Server. The PHP version is listed there.
- cPanel: Look for “Select PHP Version” or “MultiPHP Manager”.
- Cloudways, WP Engine, SiteGround and other managed hosts: Check the server or site settings panel, or your host’s status page.
- Linux packages (Ubuntu, Debian, RHEL): Distributions often backport fixes without changing the version number, so check your vendor’s advisory rather than relying on the number alone.
- Not sure? Ask your host or developer. They should be able to answer the same day
What to do now
- Back up first. Take a full backup of files and database, stored off the server, so you can roll back if an upgrade breaks something.
- Patch PHP. Move to a safe version from the table above. On managed hosting, your provider may have already done it, but get confirmation in writing that your specific server is patched.
- Restart PHP. The fix only takes effect once PHP-FPM or your web server is restarted. Containers need to be rebuilt from a patched base image and redeployed.
- Update everything that runs on PHP. WordPress core, plugins and themes, or your Laravel and Composer packages. This doesn’t fix PHP2Shell, but it closes the other doors attackers are trying at the same time.
- Reduce exposure if you can’t patch today. Put a web application firewall (WAF) in front of the site (Cloudflare shipped PHP2Shell rules on 21 October), block public access to staging sites, admin tools and old microsites, and switch on uptime and security alerts. These buy time; they don’t fix the flaw.
- Check for signs of compromise. Attacks began before patches existed, so a patched site may already be infected. Look for:
- Admin accounts you didn’t create
- Unfamiliar or recently modified PHP files, especially in uploads or plugin folders
- Odd redirects, pop-ups or spam pages
- Warnings in Google Search Console or the browser
- Spikes in outgoing email or server load
- Rotate credentials. If anything looks off, or you patched after 22 October, change hosting, database, SFTP and admin passwords, regenerate API keys, and turn on two-factor authentication.

Common mistakes to avoid
- “WordPress auto-updates will handle it.” They won’t. WordPress updates touch WordPress code, not the PHP engine running it.
- Assuming your host has patched. Many have, some haven’t, and some leave PHP versions to the customer. Confirm it for your server.
- Patching but not restarting. Old PHP workers keep running the vulnerable code until they’re restarted.
- Forgetting forgotten sites. Old landing pages, staging copies and microsites on the same server are an easy way in.
- Treating a firewall as the fix. A WAF lowers the risk. Only the patch removes it.
- Upgrading PHP without testing. Jumping from 7.4 to 8.4 on a live site with no backup can take you offline for days.
How Just WebOps can help
Already on a Just WebOps support plan? We’re on it. Our team is checking PHP versions, confirming patches with your host, and reviewing your site for signs of compromise. We’ll be in touch if anything needs your sign-off.
Hosted or managed elsewhere, or not sure where you stand? Our Australian and offshore teams cover the clock, so we can move fast. We’ll:
- Check which PHP version your site actually runs, including staging and old subdomains
- Patch PHP, or upgrade end-of-life versions on a staging copy first
- Update WordPress, WooCommerce, plugins and themes
- Scan for web shells, rogue admin users and modified files
- Tighten access with password rotation, 2FA and a WAF
We work on WordPress, WooCommerce, Laravel and custom PHP, across cPanel, Cloudways, WP Engine and most other hosts.
Get your site checked and we’ll come back to you the same business day, or call us on +61 7 3523 3848.
Not ready to hand it over? A Free Website Audit will tell you where your site stands, PHP version included.