如何在Linux服务器中隐藏PHP版本
默认上expose_php默认是开的。关闭“expose_php”参数可以使php隐藏它的版本信息。
在你的php.ini, 定位到含有expose_php的那行把On设成Off:
HTTP/1.1 200 OK
Server: nginx
Content-Type: text/html; charset=UTF-8
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.3
X-Pingback: http://www.ehowstuff.com/xmlrpc.php
Date: Wed, 11 Feb 2015 14:10:43 GMT
X-Page-Speed: 1.9.32.2-4321
Cache-Control: max-age=0, no-cache