Turn off some annoy output from Apache and PHP

prevent other to see what you got, it is a little good thing to protect your site.

Disable Apache version output

go to apache httpd.conf

edit ServerSignature to Off
edit ServerToken to Prod

Disable PHP version output, X-Power-By

go to php.ini
edit expose_php = Off

Advertisements