去掉 X-Powered-By 只需要修改php.ini 中
expose_php = On 改成expose_php = Off
隐藏 Apache 版本信息,修改/etc/httpd/conf/httpd.conf
ServerTokens ProdServerSignature Off