A phpinfo() file left accessible on a live server dumps your complete server configuration — PHP version, loaded modules, file paths, and sometimes environment variables — handing an attacker a detailed map of exactly what software versions to look up known exploits for.
phpinfo() reveals your PHP version, server configuration, installed modules, environment variables, and file paths — a detailed map for attackers.
Exposed server software version information provides genuine, concrete reconnaissance value to anyone probing your site for potential vulnerabilities — knowing your exact web server software and version lets an attacker check that specific version against known, documented vulnerabilities, potentially identifying an exploitable weakness without needing to discover anything through active probing.
This represents a real application of the broader security principle that unnecessary information disclosure expands attack surface — even if your specific server version has no currently known vulnerabilities, exposing this information provides free reconnaissance that meaningfully assists any future attack once a vulnerability in that specific version is eventually discovered and published.
Verification of this exposure requires genuinely checking your actual server response headers, since default configurations for many common web servers include this version information by default, meaning many sites unknowingly expose this information without any deliberate decision to do so.
Addressing this typically involves genuine server configuration changes to suppress or generalize this disclosed information — the specific configuration approach varies by your actual server software, but the underlying principle remains consistent: providing attackers with less specific reconnaissance information about your infrastructure meaningfully raises the effort required for any targeted attack.
No phpinfo() output is accessible at any common path on your live site.
Fix it, then re-scan — the check confirms itself. No manual checkbox, the scan is the truth.
Run this check in H.I.V.E. →