#25417 [Bgs]: auto_prepend_file value appearing in other virtual hosts
| From: | sniper@php.net | Date: | Mon, 06 Oct 2003 21:48:52 +0000 |
| Subject: | #25417 [Bgs]: auto_prepend_file value appearing in other virtual hosts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48607@lists.php.net to get a copy of this message | ||
ID: 25417
Updated by: sniper@php.net
Reported By: peterb at asceda dot co dot uk
Status: Bogus
Bug Type: Apache2 related
Operating System: RH Linux 2.4.18-27.7.xsmp
PHP Version: 4.3.3
New Comment:
See bug #25753
Previous Comments:
------------------------------------------------------------------------
[2003-09-07 13:30:16] peterb at asceda dot co dot uk
Description:
------------
Apache 2.0.47 prefork with named virtual host support running mod_php.
When running a simple script to execute "phpinfo()" the prepend setting
of one virtual host can appear in the settings for a host without a
prepend file defined. It may be related to what site an apache child
process last served as to what prepend value is displayed.
Reproduce code:
---------------
<VirtualHost #1>
php_value auto_prepend_file /site1/prepend.php
</VirtualHost>
<VirtualHost #2>
# No prepend file defined for this site
</VirtualHost>
/usr/local/php/php.ini
# No prepend file defined
auto_prepend_file =
Expected result:
----------------
Each site should have, and maintain, its own auto_prepend_file setting.
Actual result:
--------------
Sometimes the auto_prepend_file definition from site #1 appears in the
phpinfo() output of site #2.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25417&edit=1