From: DL at LoaderUSA dot net Operating system: Windows XP Pro SP2 PHP version: 5.1.6 PHP Bug Type: Apache2 related Bug description: expose_php has no effect on SERVER_SOFTWARE contents
Description: ------------ Setting expose_php to 0 or Off or false doesn't affect the value of the SERVER_SOFTWARE variable whenever PHP is enabled. I have ensured that there is only a single php.ini file on the system. The following lines are from phpinfo() - phpinfo() PHP Version => 5.1.6 System => Windows NT TEQUILA 5.1 build 2600 Build Date => Aug 23 2006 16:31:18 . Configuration File (php.ini) Path => C:\PHP-516\php.ini . expose_php => Off => Off . . The Apache httpd.conf contains the following lines - # # PHP support # LoadModule php5_module "C:/PHP-516/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP516/" # The Apache SERVER_SOFTWARE variable always contains the following whenever PHP is enabled in httpd.conf - SERVER_SOFTWARE="Apache/2.0.59 (Win32) PHP/5.1.6" Obviously, I can set the Apache ServerSignature directive off to get rid of the information generated HTML. Let me know if you need any other information. Reproduce code: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A -- Edit bug report at http://bugs.php.net/?id=38814&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38814&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38814&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38814&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38814&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38814&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38814&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38814&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38814&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38814&r=support Expected behavior: http://bugs.php.net/fix.php?id=38814&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38814&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38814&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38814&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38814&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38814&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38814&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38814&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38814&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38814&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38814&r=mysqlcfg