Security alerts eMudhra CA compromise · Chrome drops the root Oct 27 Check your certificate → PHP2Shell · is your PHP version exposed? Check your site →

Help › Fix guides › PHP version disclosed or end of life

Fix guide · Exposure · high

PHP version disclosed or end of life

Your server announces its PHP version in the X-Powered-By header. Attackers and bots read it to pick exploits: an end-of-life branch gets no security fixes at all, and a version behind on patches may be open to known bugs such as PHP2Shell (CVE-2026-109618 and CVE-2026-109619).

Time to fix

5 minutes to hide · upgrade varies

Risk if ignored

Targeted, automated exploitation

Breaks anything?

Hiding the version: no. Upgrading: test first

How to fix it

In php.ini (find it with: php --ini):

expose_php = Off

Then restart PHP-FPM or Apache. This only hides the version; it does not patch anything.

Patched versions for PHP2Shell: 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Anything older than 8.2 gets no fixes at all.

Check your fix

Rescan and we’ll confirm it’s fixed.

Common mistakes

  • Hiding the header and calling it fixed. The server is just as vulnerable, only quieter.
  • Upgrading PHP without testing plugins and themes first.
  • Forgetting the CLI and cron PHP, which can be a different version from the web one.

Still stuck?

Ask a human. We answer every ticket.

Tickets are answered 7am–7pm Pacific, usually within a few hours. Your whole conversation stays in your account.

Live chat, inside your ticket

On a Pro or Enterprise plan? Open any ticket and, when we’re online, chat with us live right there. The chat is saved on the ticket with everything else, so nothing gets lost.

Free plan: tickets only. Same people, same answers.

Not a customer yet? Questions about plans go to sales.