WordPress PHP2Shell Fix: Why Updating WordPress Alone Won't Save You

PHP2Shell is a bug in PHP itself, not in WordPress - updating your plugins and themes won't close it. Here's what WordPress site owners actually need to check and do.

The Bug Isn't In WordPress

Wiz demonstrated PHP2Shell against the latest WordPress container image, proving the flaw sits beneath the CMS, in PHP core itself.

Check Your Real PHP Version

WordPress's own Site Health screen shows the server's PHP version - that's your starting point, not a plugin changelog.

Shared Hosting Needs A Check Too

On shared hosting, your host controls the PHP version - you may need to ask them directly or change a setting yourself.

Why WordPress site owners need to understand PHP2Shell

PHP2Shell, tracked as CVE-2026-109618 and CVE-2026-109619, is an unauthenticated remote code execution flaw in PHP core, not in WordPress itself. The bug is application-agnostic, and Wiz Research specifically tested it against the latest WordPress, Drupal and Joomla container images to prove that the application layer makes no difference - see our full PHP2Shell vulnerability explainer for the technical detail behind both CVEs.

The common mistake is thinking a WordPress core update, a theme refresh and a round of plugin updates covers you. That patches an entirely different layer. The actual fix is a PHP version upgrade, to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or a backport if you're stuck on an end-of-life branch - WordPress updates alone don't touch the PHP interpreter running underneath.

This matters at scale because WordPress runs such a large share of the web, and because Wiz estimates PHP itself powers around 70% of all websites. A huge number of WordPress installs are quietly sitting on an exposed PHP version without the site owner ever realising, because nothing in the WordPress admin screen flags it.

The urgency is real: this is unauthenticated RCE, a public proof-of-concept exists, and early exploitation attempts have already been reported. PHP's own advice is to upgrade immediately, stating there are "no complete mitigations" short of patching - this isn't a routine update to get to eventually. If you need a server patched today rather than assessed first, see our emergency PHP patching service.

What to check on your WordPress site

None of these checks require deep technical knowledge, but they do need to happen in the right order - checking the wrong number, or in the wrong place, is how sites end up believing they're safe when they're not.

Check PHP Version Via Site Health

In wp-admin, go to Tools > Site Health > Info > Server to see the PHP version your site is actually running - more reliable than guessing from your hosting plan name.

CLI Version Can Mislead You

If you or your host check php -v over SSH, remember that can differ from what the live web server (FPM or mod_php) runs for real requests - the Site Health number reflects what the site genuinely uses.

Shared Hosting vs VPS Responsibilities

On shared hosting, your provider typically controls the PHP version - check your control panel (cPanel MultiPHP or Plesk PHP settings) or ask your host directly. On a VPS or dedicated server, upgrading PHP is your responsibility, or ours if we manage it for you.

Plugin & Theme Compatibility

Jumping to PHP 8.2 or later can occasionally surface a plugin or theme that hasn't been updated for newer PHP - a reason to test the change properly, not a reason to delay it.

Our approach to fixing WordPress PHP2Shell exposure

Backup Before Anything Changes

We take a full, verified backup before touching the PHP version or plugin compatibility, so a rollback is always possible if something unexpected surfaces.

Compatibility-Checked, Not Just Upgraded

We check your active plugins and theme against the new PHP version before switching it live, rather than upgrading first and finding out what breaks afterwards.

Not sure what PHP version your WordPress site is running?

How it works

From checking your real PHP version to a verified upgrade - our process is built to avoid surprises.

1

Check Your PHP Version

We confirm the PHP version your WordPress site genuinely runs via Site Health and server-side checks, not just your hosting plan description.

2

Back Up Your Site

A full, verified backup is taken before any PHP version change, so there's always a safe way back.

3

Test Plugin & Theme Compatibility

We check your active plugins and theme against the target PHP version, flagging anything that needs updating or replacing first.

4

Upgrade & Verify

We move your site to a patched PHP version, or apply the right backport, and confirm it's live and working correctly.

Signs your WordPress site needs a PHP2Shell check

You've updated WordPress core, your theme and every plugin, but haven't checked the PHP version itself
Site Health shows a PHP version older than 8.2.35, 8.3.36, 8.4.27 or 8.5.12
You're not sure whether your hosting plan or your WordPress install actually controls the PHP version
You're on shared hosting and have never changed the PHP setting in your control panel
A plugin you rely on hasn't confirmed compatibility with PHP 8.2 or later
You've spotted an admin user in WordPress that nobody on your team recognises
There are unfamiliar files inside wp-content/uploads that look like scripts rather than media
Your site has felt unusually slow or has been returning intermittent server errors
You manage several WordPress sites and don't have a quick way to check PHP versions across all of them

Why choose Cloudswitched to fix WordPress PHP2Shell exposure?

As a London-based managed IT, web development and cyber security provider for UK SMEs, we work with WordPress daily, so we know the difference between a CMS-level fix and a server-level one.

We check your real PHP version properly, because Site Health, CLI and your hosting plan description can all tell a slightly different story, and only one of them reflects what's actually serving your visitors.

We test plugin and theme compatibility before switching the PHP version live, rather than upgrading first and discovering what breaks on your checkout or contact form afterwards.

If you're on shared hosting, we'll tell you plainly whether the fix is a setting in your control panel or something that needs a conversation with your host, rather than leaving you to guess.

A full, verified backup comes before any change, so if anything does misbehave after the PHP upgrade, we can roll back cleanly rather than troubleshoot a live, broken site.

We also check for signs of compromise - an unfamiliar admin user, unexpected files in wp-content/uploads, modified core files - because exploitation attempts were reported before patches existed.

Beyond the immediate fix, our website maintenance services keep your WordPress core, plugins and PHP version properly maintained going forward, so this doesn't become a recurring scramble.

WordPress PHP2Shell fix for UK businesses

What's included in a WordPress PHP2Shell fix

01

PHP Version Check

We confirm the real PHP version your WordPress site runs, via Site Health and server-side checks, not just your hosting plan name.

02

Compromise Check

We look for unfamiliar admin users, unexpected files in wp-content/uploads and modified core files before changing anything.

03

Verified Backup

A full, verified backup taken before any PHP version change, so a rollback is always available.

04

Plugin & Theme Compatibility

Active plugins and your theme checked against the target PHP version before it goes live.

05

Upgrade & Verification

PHP moved to a patched version, or backported for end-of-life branches, and confirmed working across your key pages.

WordPress PHP2Shell Fix Scopes

Every fix is scoped to your hosting setup and plugin stack - here's a rough guide to where most WordPress sites land.

Assess

PHP version check and compromise scan

Custom/ scoped engagement
  • Site Health & server-side PHP check
  • Compromise indicators check
  • Written findings summary
Get a Quote
Most Popular

Assess + Fix

Assess, plus backup and PHP upgrade

Custom/ scoped engagement
  • Everything in Assess
  • Verified backup
  • PHP upgrade or backport applied
Get a Quote

Assess + Fix + Compatibility

Larger sites, many plugins or an agency-managed estate

POA/ custom quote
  • Everything in Assess + Fix
  • Full plugin & theme compatibility testing
  • Multi-site coordination
Talk to our team

Why Cloudswitched for your WordPress PHP2Shell fix?

We treat PHP2Shell as a PHP-level problem that happens to run under WordPress. Here's what sets our fix apart.

We know where the fix lives

We won't tell you to update a plugin when the real issue is the PHP version underneath it.

Checked PHP version, not guessed

Site Health, CLI and hosting plan descriptions can disagree - we confirm what's genuinely serving your visitors.

Compatibility tested first

Plugins and themes checked against the new PHP version before it goes live, not after something breaks.

Backup before any change

A verified backup always comes first, so a rollback is possible if anything misbehaves.

Shared hosting know-how

We know when the fix is a control panel setting and when it needs a conversation with your host.

Compromise checked too

We look for signs of prior compromise, not just whether the version number is now correct.

No vendor lock-in

You keep full ownership of your WordPress install, hosting account and content throughout.

No long tie-ins

A one-off fix doesn't commit you to anything ongoing unless you choose website maintenance too.

Transparent reporting

A clear written record of what was checked, fixed and verified, in plain English.

WordPress PHP2Shell Fixes Across the UK

We fix WordPress PHP2Shell exposure for site owners across the UK remotely, so your hosting location doesn't change how thoroughly the job gets done. Whether you're on shared hosting, a managed WordPress platform or your own VPS, we scope the fix to your actual setup rather than a one-size-fits-all script. Because we also design and build WordPress sites through our WordPress website design service, we understand how plugin and theme choices interact with a PHP version change.

This matters because a WordPress site rarely has just one thing wrong with it. A site running an old, exposed PHP version has often also missed plugin updates, a stale backup routine or an expired SSL certificate. Our website maintenance services look after all of that together, so a PHP2Shell fix can be the start of properly maintained WordPress, not a one-off panic.

Comparing your options for fixing WordPress PHP2Shell exposure

WordPress owners generally choose between three approaches once they realise updating plugins alone isn't enough.

Update WordPress and hope: keeps your CMS layer current, but does nothing for a bug that sits in PHP core itself - Wiz demonstrated the flaw against the latest WordPress image specifically.

Ask your host to handle PHP: works if your host manages it centrally, but many shared hosting control panels leave the PHP version as a setting you have to change yourself.

Get an independent fix: a checked PHP version, a verified backup, compatibility-tested plugins and a confirmed working upgrade, with a written report at the end.

What to check before assuming you're safe: whether Site Health shows a genuinely patched version, whether your plugins have been tested against it, and whether anyone's looked for signs of compromise from before the fix went in.

Coverage

UK-Wide, Remote-First

We fix WordPress PHP2Shell exposure for businesses across the UK remotely, with London-based on-site availability for businesses that want a face-to-face meeting.

Compliance We Support
GDPRConsumer Rights Act 2015UK Electronic Commerce RegulationsCyber EssentialsWCAG 2.2 AA
Fix

WordPress PHP2Shell Fix

wordpress php2shell fix

Checking and upgrading the real PHP version behind a WordPress site, since the PHP2Shell bug sits in PHP core, not in WordPress itself.

Coverage

UK-Wide WordPress PHP Support

wordpress php update uk

Remote-first WordPress PHP version checks and upgrades for UK site owners, with London-based on-site availability when it helps.

Frequently Asked Questions

Got questions about PHP2Shell and WordPress? We've answered the most common ones below. If you need more detail, get in touch.

Is WordPress itself affected by PHP2Shell?

WordPress isn't the vulnerable component, but any WordPress site running on an affected PHP version is exposed. Wiz specifically demonstrated the flaw against the latest WordPress container image.

If I update WordPress, plugins and my theme, am I safe?

No. PHP2Shell is a bug in PHP core, beneath WordPress entirely. Updating the CMS, theme or plugins doesn't touch the PHP version your server runs.

How do I check what PHP version my WordPress site is running?

In wp-admin, go to Tools > Site Health > Info > Server. That reflects the version actually serving your visitors, which can differ from a CLI check or your hosting plan description.

I'm on shared hosting - who's responsible for upgrading PHP?

Usually your host controls the PHP version, available as a setting in your control panel such as cPanel MultiPHP or Plesk. If you can't find or change it, ask your host directly.

Will upgrading PHP break my plugins or theme?

It can, occasionally, if a plugin or theme hasn't been updated for newer PHP. That's why we test compatibility before switching the live version, not after.

Should I back up my site before changing the PHP version?

Yes, always. We take a full, verified backup before any PHP change, so a clean rollback is possible if anything misbehaves.

How do I know if my WordPress site has already been compromised?

Look for an admin user you don't recognise, unfamiliar files inside wp-content/uploads, modified core files, or unexplained slowness and server errors.

What if my host doesn't support PHP 8.2 or later?

Some older shared hosting plans lag behind. If that's the case, it's worth asking your host directly, or we can advise on moving to hosting that supports a currently maintained PHP version.

Can you fix this for me if I manage several WordPress sites?

Yes, we regularly check and fix PHP version exposure across multiple WordPress sites for owners and agencies, coordinating backups and compatibility testing across the whole set.

Technology stack

Built on technology you can trust.

We design, run and secure your IT on proven, industry-leading platforms, including Microsoft 365 and Azure, Cisco Meraki, Cloudflare, AWS, BitDefender and SolarWinds, so your business stays secure, scalable and reliable.

  • SolarWinds
  • Cloudflare
  • BitDefender
  • AWS
  • Hono
  • SolarWinds
  • Cloudflare
  • BitDefender
  • AWS
  • Hono
  • Opus
  • Office 365
  • Microsoft
  • Cisco Meraki
  • Microsoft Azure
  • SolarWinds
  • Opus
  • Office 365
  • Microsoft
  • Cisco Meraki
  • Microsoft Azure
  • SolarWinds
Insights & guides

Latest from our blog

Structured Data and Schema Markup: A UK Business Guide to Winning Rich Results in Google Search in 2026
SEO5 Nov 2026

Structured Data and Schema Markup

Schema markup is structured code added to web pages that describes their content in a standard vocabulary search engines understand: this page is a product...

Read article
Website Redesign Planning: A UK Business Guide to Avoiding the Mistakes That Tank SEO Rankings During a Rebuild in 2026
Web Development4 Nov 2026

Website Redesign Planning

Treating website redesign SEO as an afterthought is the most reliable way for a UK business to lose the organic traffic it spent years building. The pattern is...

Read article
Virtual CIO Onboarding: A UK Business Guide to What the First 90 Days Should Actually Look Like in 2026
Virtual CIO3 Nov 2026

Virtual CIO Onboarding

Good virtual CIO onboarding looks, from the outside, surprisingly unglamorous. Many UK businesses sign a virtual CIO contract expecting a strategy presentation...

Read article
Network Capacity Planning: A UK Business Guide to Forecasting Growth Before Your Network Becomes the Bottleneck in 2026
Network Admin1 Nov 2026

Network Capacity Planning

Network capacity planning is the practice of knowing how much headroom each part of your network has, forecasting when growth will use it up, and acting before...

Read article
Office Downsizing and Consolidation: A UK Business Guide to Moving to a Smaller Office Without Losing IT Capability in 2026
IT Office Moves31 Oct 2026

Office Downsizing and Consolidation

Planning office downsizing IT is a different exercise from planning a normal office move, and treating it as a smaller version of one is where most problems...

Read article
Microsoft 365 Copilot Adoption: A UK Business Guide to Why Most Deployments Fail to Change How People Work in 2026
Microsoft 365 Copilot30 Oct 2026

Microsoft 365 Copilot Adoption

A workable Copilot adoption strategy starts from an uncomfortable fact: buying Microsoft 365 Copilot licences does not change how anyone works. The pattern in...

Read article
Microsoft 365 Copilot ROI: How UK Businesses Are Measuring Productivity Gains in 2026
Microsoft 365 Copilot29 Oct 2026

Microsoft 365 Copilot ROI

Most UK organisations that bought Copilot in 2024 and 2025 have reached their first or second renewal, and the question in the room has changed. Nobody is...

Read article
Penetration Testing for Web Applications: A UK Business Guide to OWASP Top 10 Testing and What a Web App Pen Test Actually Covers in 2026
Penetration Testing28 Oct 2026

Penetration Testing for Web Applications

Web application penetration testing examines the software your customers, staff and partners actually use your portal, platform, booking system or API to find...

Read article
Backup Encryption: A UK Business Guide to Protecting Backup Data at Rest and in Transit Without Locking Yourself Out in 2026
Cloud Backup27 Oct 2026

Backup Encryption

Backup encryption at rest and in transit is now standard across almost every backup product, and most UK businesses assume their backups are protected because...

Read article
Private Connectivity to Azure and AWS: A UK Business Guide to ExpressRoute and Direct Connect vs Public Internet VPN in 2026
Cloud Networking26 Oct 2026

Private Connectivity to Azure and AWS

Private cloud connectivity means linking your offices or data centre to Azure or AWS over a dedicated circuit Microsoft ExpressRoute or AWS Direct Connect...

Read article

Enquiry Received!

Thank you for getting in touch. A member of our team will review your enquiry and get back to you within 24 hours.