PHP2SHELL SECURITY SUPPORT

PHP Version CheckerIs Your Website Exposed to PHP2Shell?

Start with your website address. Find out where your PHP risk sits, then get expert help patching your existing website without a rebuild and with minimal disruption.

Check your PHP risk

Find out where to focus your next step.

  1. PHP platform
  2. Version check

No website login required.

Already know you need support?

Get a quick fix

Keep your website. Resolve the risk.Call 0203 599 8122

PHP BASICS

Why your PHP version matters for PHP cyber security

PHP is the server-side language behind a large share of business websites, including WordPress, WooCommerce, Drupal, Joomla, Magento, and custom Laravel applications. Every time a visitor opens a page, PHP runs on your server. It pulls content from the database, handles contact and checkout forms, sends emails, and connects to your payment, booking, and CRM systems.

That makes your PHP version a core part of PHP cyber security. The PHP project supports each branch for a limited time: two years of active support with bug and security fixes, then two years of security fixes only. After that, the branch reaches end of life and gets no more fixes, even for a serious PHP vulnerability.

A current version also keeps your website dependable. Plugins, themes, and frameworks gradually drop support for older branches, while newer releases improve performance and reliability. Most updates don’t need a rebuild. Moving to a newer patch release within the same branch is usually routine. Moving between branches, such as 8.1 to 8.3, needs a compatibility check of your CMS, plugins, and custom code first.

If your website needs that compatibility work, our website development team can plan it with minimal disruption.

SECURITY UPDATE

PHP2Shell: the PHP vulnerability you need to patch now

On 21 October 2026, the PHP project released emergency security updates for two critical flaws, CVE-2026-109618 and CVE-2026-109619, now known as PHP2Shell. Both score 9.2 (critical) and can let an attacker run code on a web server without logging in.

The problem sits in PHP itself, not in a plugin or theme. One flaw involves how PHP behaves when it runs out of memory partway through a request. The other lets internal data from one request carry over into a later request after it should have been cleared. The PHP project says every PHP installation serving web requests is at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. The risk is highest with mod_php.

What to do

  1. Update to the fixed release for your branch, or install the patched package from your Linux distribution or hosting provider. Distributions received the patches in advance.
  2. Restart every PHP worker, meaning your PHP-FPM pools and Apache, so the patched code is the code actually running.
  3. If you’re on PHP 8.1 or older, plan an upgrade to a supported branch. The PHP project published source-only backports for 7.4, 8.0 and 8.1, and some vendors offer patched packages, but there is no official release for those branches.
  4. If you can’t update straight away, the PHP advisory lists temporary configuration measures. The PHP project is clear that these reduce exposure without making an installation safe, so treat them as a stopgap your host applies while the update is prepared.

On 23 October 2026, the PHP project also published an informational advisory recommending session.upload_progress.enabled=0 until the next regular release. It closes a separate and unlikely session issue (CVE-2026-115560). Installing the PHP2Shell fix doesn’t cover that issue, or any other security problem on your website.

Want a walkthrough for your own server? Read our blog on Am I vulnerable to PHP2Shell?

VERSION NUMBERS

Is my PHP version secure? Why one number doesn’t settle it

You may want to find the PHP version of a website from its public response, or by running it through an online tool. A PHP version detector, a website PHP version checker, or a PHP version scanner can only report what the site reveals in its headers, cookies or a size-capped HTML snapshot. Treat a publicly visible version as a useful clue, then confirm it before you decide what to do. The same limit applies to any PHP vulnerability checker or PHP security checker that works from the outside.

  • Hidden headers

    Many servers turn off expose_php or strip the X-Powered-By header. That is good practice, and it means no version appears publicly.

  • Proxies and CDNs

    Services like Cloudflare or a hosting firewall sit in front of your server. They can remove, cache, or replace the headers, cookies or HTML a public check can read.

  • Vendor backports

    Ubuntu, Debian, Red Hat, AlmaLinux, and many hosts patch PHP without changing the upstream version number. An older-looking version may already include the fix.

  • Frontend versus backend

    A React, Next.js, or Vue frontend can still depend on PHP for its CMS, API, or checkout. Spotting a JavaScript framework doesn’t rule PHP out.

How to check the PHP version of a website (the reliable way)

To check your PHP version online, or rather where it actually runs, go to the source:

  1. Hosting control panel. In cPanel, look for “Select PHP Version” or “MultiPHP Manager”. In Plesk, open the domain's “PHP Settings”. Each shows the version assigned to your website.
  2. WordPress Site Health. In the dashboard, go to Tools → Site Health → Info and open the Server section to see the PHP version WordPress runs on.
  3. Ask your hosting provider. Ask which PHP version and package serve your website, whether the PHP2Shell fixes are installed, and whether the PHP workers were restarted afterwards. Get the answer in writing.

If you or your developer use a terminal, remember that php -v reports the command-line PHP. Servers often have several versions installed, and the one serving your website through PHP-FPM or Apache can differ.

Please don't publish a phpinfo page to check, and never send server passwords or control panel logins by email or chat. Both give attackers exactly what they look for.

OUR SERVICES

Transformative Digital Agency Services

Explore our wide range of digital solutions designed to drive your business forward.
Development Services

Development Services

GSS Tech Solutions leads the industry in terms of website development services. Our customers can attain creative levels of achievement in their particular sectors by using our technological solutions. We help customers ensure their web-based solutions include the right combination of strategy, design, technology, and experience.

FAQ'S

PHP Versions, Vulnerabilities & Security Explained

Questions

Answer

To check the PHP version of a website reliably, look inside your hosting account: “Select PHP Version” in cPanel, “PHP Settings” in Plesk, or Tools → Site Health → Info in WordPress. A website PHP version checker or PHP version detector can sometimes find the PHP version of a website from its headers, but many servers hide them.

GSS Tech Solutions