Skip to main content
USA-Based Digital Agency

How to Check Whether a PHP Security Update Has Been Applied

The reliable way to know a PHP security update was applied is to confirm three things: which PHP build serves your website’s web requests, that this build contains the fix according to its vendor, and that PHP was restarted after the update. A version number, a response header or a scan from outside cannot establish all three.

By George Shvaya · Published · Vendor examples checked

The short answer

Ask whoever runs your server to confirm, in writing, which PHP build serves your site, that it includes the fix, and that PHP workers were restarted. If you run the server yourself, check the installed package against your vendor’s advisory, check which build the web server actually uses, and restart it. The rest of this guide explains why each of those steps matters. For background on the current advisory, see the October 2026 PHP security release.

Who is responsible for patching PHP on your site?

Usually your hosting company. PHP is part of the hosting environment, so whoever controls that environment patches it:

  • Shared or managed hosting (for example a WordPress host): the host installs and patches PHP. You may be able to choose a version in the control panel, but the host supplies the builds.
  • A VPS or dedicated server: whoever administers the server patches PHP, which may be you, your developer or a managed-service provider.
  • A platform service such as AWS Elastic Beanstalk or a container image: the platform or your build pipeline decides the PHP build.

To find the host, look for the company you pay for hosting on a card statement or in your email. Your domain registrar is often a different company. Your hosting control panel usually has a PHP version or PHP settings screen. It shows the branch your site is set to use, which helps, but it does not usually show whether a security fix is in the build.

What each kind of evidence proves

Each way of checking answers a narrower question than it seems to:

Ways to check PHP patch status, what each one proves, and what it does not
EvidenceWhat it provesWhat it does not prove
Your host confirms in writing that the build serving your site includes the fix and workers were restartedThe strongest confirmation most site owners can getAnything about whether the site was compromised before the patch
Package record on the server matches the vendor’s fixed package from its advisoryThe fixed code is installedThat the web server is using it, until workers restart
A runtime check (for example the PHP information page, viewed by an administrator) shows the expected build and server APIWhich build and SAPI actually serve web requestsWhether a vendor build includes a backported fix, on its own
WordPress Site Health shows a PHP versionThe PHP branch WordPress is running underWhether that build includes the October 2026 fix
php -v on the command lineThe version of the command-line PHP binaryWhich PHP the website uses
An X-Powered-By response header or an external scannerAt most, a version string the server chose to revealPatch status. It cannot see backports and is often hidden or wrong

Can an outside scan show whether PHP is patched?

No. Some servers announce their PHP version in an X-Powered-By response header, and some online tools read it. That header is optional and commonly turned off. When it is present, it shows a version string, not the vendor’s patch level. Content delivery networks and proxies can remove or change headers along the way. So a missing header does not mean a site is safe, an old-looking number does not mean it is vulnerable, and nothing visible from outside can settle the question. Please do not run attack tools against a site to find out; testing exploits against live systems can cause damage and is not a verification method.

Why can a patched PHP show an old version number?

Because Linux and control-panel vendors usually fix the version they already ship instead of moving to a new one. Hosts rarely run PHP built from php.net source. They install packages from the operating system vendor, a control-panel vendor or a specialist repository. Those vendors often apply the security fix to the version they already ship, so the package keeps its older main version number with a new build suffix:

Vendor packages that contain the October 2026 PHP fix
VendorFixed packageNote
Ubuntu 24.04 LTSphp8.3 8.3.6-0ubuntu0.24.04.13Reports PHP 8.3.6, yet carries the fix (USN-8948-1/-2). Source
Ubuntu 22.04 LTSphp8.1 8.1.2-1ubuntu2.28PHP 8.1 has no upstream fix, but Ubuntu backported one. Source
Debian 13 (trixie)php8.4 8.4.27-1~deb13u1Fixed in trixie-security (DSA-6574-1). Source
Debian 12 (bookworm)php8.2 8.2.35-1~deb12u1Fixed in bookworm-security (DLA-4848-1). Source

The authoritative check is the installed package’s exact version compared with the fixed version in that vendor’s own advisory, such as the Ubuntu or Debian security tracker pages. For cPanel, Plesk, CloudLinux and similar builds, the control-panel vendor’s release notes are the reference.

Is command-line PHP the same as the website’s PHP?

Not necessarily. A single server can have several PHP builds installed side by side, and different sites on the same server can use different ones. The command php -v reports the command-line binary on the system path, which may not be the build your web server uses. What matters for a website is the PHP that handles web requests. PHP calls the connection between PHP and the web server the server API (SAPI), for example FPM or the Apache module; the PHP manual describes how to read it.

An administrator can see the web runtime’s version and SAPI on the PHP information page, served briefly through the site and removed straight after, because it exposes configuration details. Many control panels show the same information without that risk. On WordPress, Site Health shows the PHP version the site runs under (WordPress documentation); see does updating WordPress update PHP? for what it does and does not tell you.

Does installing the update protect the site straight away?

Not until PHP is restarted. PHP-FPM pools, Apache with the PHP module and similar setups keep worker processes running between requests. Those processes keep using the code they started with until they are restarted or reloaded. PHP’s advisory pairs every interim setting with “restart every worker” for this reason. A server can have the fixed package installed and still be serving requests from the old build.

What confirmation should you ask your host for?

Send something like this to your host or administrator. Never include a password.

Hello, for the website [your domain], please confirm in writing:

  1. the PHP version and exact package build that serves its web requests, and the server API (for example PHP-FPM);
  2. whether that build includes the fixes for CVE-2026-109618 and CVE-2026-109619, and which vendor advisory or package release covers it;
  3. when the PHP workers serving the site were last restarted after the update;
  4. whether any interim settings or firewall rules were applied that could affect how the site works.

Thank you.

Template. Replace the bracketed text before sending.

A clear answer to all four points is good evidence that the patch is in place. It does not cover whether the site was attacked before the update; if anything looked unusual, read patching is not an investigation.

Common questions

Can an online scanner tell me whether my PHP is patched?

Not reliably. A scanner from outside sees at most a version string, if the server reveals one at all. It cannot see whether a vendor backported the fix into an older-numbered package, and a missing or newer-looking header does not prove the site is safe.

My PHP version is lower than 8.3.36. Am I definitely vulnerable?

Not necessarily. Ubuntu, Debian and other vendors fix older-numbered packages. For example, Ubuntu 24.04’s fixed package reports PHP 8.3.6. Ask your host or check the package against your vendor’s advisory.

Where do I find out who hosts my website?

Look for the company you pay for hosting on your card statement or in your email. That is usually the company that controls PHP. Your web developer or agency may also manage it. The domain registrar is often a different company.

Is it safe to put a phpinfo page on my site to check?

Only briefly, and only if you know how to remove it. The PHP information page shows detailed server configuration that should not stay public. Many hosts show the same details in their control panel, which is the better place to look.

How this page is written and maintained

  • Facts about vulnerabilities, versions and vendor packages come from the official sources linked in the text.
  • Recommendations (what to ask, what to check, in what order) are our own practical guidance, not instructions from PHP or any vendor.
  • Disclosure: Webvello sells PHP update and upgrade services. Service sections are labeled “Webvello service”.
  • Written by George Shvaya. Pages are re-checked by hand when an official advisory, vendor guidance or supported-version dates change. There is no automatic monitoring, so check the date at the top.