Wednesday, November 16, 2005

Turn off php signature

To turn off PHP information signature, you can modify /etc/php.ini file and change the following (turns PHP signature on)


expose_php = On


to (turns PHP signature Off


expose_php = Off


Note from PHP.ini file:



; 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.


Also see, Find and Replace


0 Comments:

Post a Comment

<< Home