i've got a webserver which runs php 5.2.3 via fastcgi, and i've recently tried to remove the x-powered-by header for security reasons. however, changing the php.ini expose-php directive value to off made no difference. After searching a little on google for this problem, it came out that there is no configuration directive for this, and so i created a little patch for the cgi sapi module to solve it. you can find the patch at http://docs.cshell.gr/patches/xpoweredby-cgiphp5.2.3.patch . hope it helps many people who encounter the same problem. you can also argue for this at http://www.cshell.gr/?p=113 .

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to