In order to do this, you need to do some sysdmin job:). I am going to specifically focus on Apache and PHP because I’m more of a LAMP user. If you use ASP on Microsofts IIS, I can’t help you (but hey!, Google is there to save your sunny day! :P)
Find your php.ini file in my case,
1 | vim /etc/php5/apache2/php.ini |
Look for the line that says: “expose_php On“
Change it to:
1 | expose_php Off |
Now our PHP is very silent
Note by PHP developer:
; Decides whether PHP may expose the fact that it is installed on the server
; (e.g. by adding its signature to the Web server header). It is no security
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
Leave a Reply