---

How to Hide PHP Version Number in HTTP Header

The PHP configuration, by default allows the server HTTP response header ???X-Powered-By??? to display the PHP version installed on a server.

For server security reasons (though not a major threat to worry about), it is recommended that you disable or hide this information from attackers who might be targeting your server by wanting to know whether you are running PHP or not.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis