How can i prevent server info and php info to be displayed in response header
server info
php info
for server info add the following lines in apache2.conf
ServerTokens ProductOnly ServerSignature Off
For PHP info
in your php.ini
turn
expose_php = off
2.1m questions
2.1m answers
60 comments
57.0k users