From:             peterb at asceda dot co dot uk
Operating system: RH Linux 2.4.18-27.7.xsmp
PHP version:      4.3.3
PHP Bug Type:     Apache2 related
Bug description:  auto_prepend_file value appearing in other virtual hosts

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 bug report at http://bugs.php.net/?id=25417&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25417&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25417&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25417&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25417&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25417&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25417&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25417&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25417&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25417&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25417&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25417&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25417&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25417&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25417&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25417&r=gnused

Reply via email to