Security Medium

Upgrade server software past its end of life

Every release line of PHP, nginx and the Apache HTTP Server has an end of life, after which its maintainers publish no more security fixes. A server still on such a line keeps every flaw found since, and its version header tells attackers exactly which ones to try.

Find out whether your site has this problem, and every other check, in one free scan.

Check your site free

Why it matters

Software past its end of life gets no security fixes, so every flaw found from now on stays open on this server, and attackers scan for exactly those version strings.

How to fix

  1. 1 Check which release lines are still supported (endoflife.date lists them) and plan the upgrade; test it on a copy of the site first.
  2. 2 Upgrade on the server or ask the hosting provider to move the site to a supported version.
  3. 3 Hide the version in the headers afterwards (PHP: expose_php = Off; nginx: server_tokens off; Apache: ServerTokens Prod).

Common mistakes

  • Hiding the version in the header and calling it fixed: the software is just as vulnerable, only harder to spot.
  • Upgrading the web server but leaving PHP on an old line, or the other way round.
  • Assuming the hosting provider upgrades automatically, while the plan pins an old version.

How to verify

  1. 1 Check the running version on the server (php -v, nginx -v, apachectl -v) against the supported lines on endoflife.date.
  2. 2 Re-run the scan and confirm the end-of-life finding is gone.
  3. 3 Confirm the response headers no longer name a version at all.

Related checks

Ready to see where you stand?

Scan your site and get your Engineering Score with a prioritized roadmap in under a minute, no signup required.

Scan your site

Session expired

Your session has expired for security. Please log in again to continue.