#38814 [Opn->Fbk]: expose_php has no effect on SERVER_SOFTWARE contents
| From: | tony2001@php.net | Date: | Wed, 13 Sep 2006 18:13:53 +0000 |
| Subject: | #38814 [Opn->Fbk]: expose_php has no effect on SERVER_SOFTWARE contents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102122@lists.php.net to get a copy of this message | ||
ID: 38814
Updated by: tony2001@php.net
Reported By: DL at LoaderUSA dot net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.6
New Comment:
Restart the web-server.
Previous Comments:
------------------------------------------------------------------------
[2006-09-13 17:02:04] DL at LoaderUSA dot net
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 this bug report at http://bugs.php.net/?id=38814&edit=1