EOL PHP & Apache Header Check
Use this page to confirm whether a server still advertises end-of-life PHP or Apache versions in its HTTP response headers — the exact signal behind Shadowserver “vulnerable-http” reports forwarded by abuse departments and national CERTs.
Checks are cached for 60 seconds and limited per IP. Only the response headers are read — the page body is never downloaded.
Reported servers — reported vs. current
| Target | Reported | PHP now | Apache now | Banner | Action |
|---|---|---|---|---|---|
| 50.7.136.82 | PHP 5.4.16 Apache 2.4.6 CentOS | Not checked | — | — | |
| 50.7.173.42 | PHP 5.4.16 Apache 2.4.6 CentOS | Not checked | — | — | |
| 50.7.128.50 | PHP 7.4.33 Apache 2.4.6 CentOS | Not checked | — | — |
The report is triggered by version strings in HTTP response headers. If a server still returns Server: Apache/2.4.6 (CentOS) PHP/5.4.16, Shadowserver will keep listing it, even if the packages are patched by the vendor.
What the report actually contains
The NCSC ticket quotes two fields: the exposed component versions and the port they were seen on. In the samples above they were php:5.4.16 with apache:2.4.6 on port 80, and php:7.4.33 with apache:2.4.6 on port 443. Both were detected from the Server header (Apache/2.4.6 (CentOS) PHP/5.4.16) and, if present, X-Powered-By.
PHP 5.4 reached end of life on 3 September 2015 and PHP 7.4 on 28 November 2022. CentOS 7, which ships Apache 2.4.6, reached end of life on 30 June 2024. Even when the vendor backports security patches, the version string stays the same, so the scanner keeps flagging it.
How to clear the finding
- Hide the banner first:
expose_php = Offinphp.ini, andServerTokens ProdplusServerSignature Offin the Apache configuration. Reload Apache and re-run the check above. - Upgrade the runtime: move PHP to a supported branch (8.3 or 8.4) and Apache to a current 2.4 build from a distribution that still receives updates.
- Retire CentOS 7 hosts, or move the application to a supported OS release, so the OS name in the header stops implying an unsupported platform.
- Reply to the abuse ticket with the remediation steps and re-check after propagation. Shadowserver rescans on its own schedule, so a clean header may take a few days to disappear from the report.
How to read the result
A red PHP row means the advertised branch is past its end-of-life date. An amber Apache row means the version string is an old upstream build (this is expected on CentOS 7 and does not always mean unpatched). A red Banner row means the server still discloses the version — that alone is enough to keep receiving the report.