|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2926 Settings in VirtualHosts
Submitted: 1999-12-06 21:19 UTC Modified: 2005-09-02 07:57 UTC
From: roland at virtual dot ch Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.0 OS: FreeBSD 3.1
Private report: No CVE-ID: None
 [1999-12-06 21:19 UTC] roland at virtual dot ch
PHP4b3 Module safe_mode

This settings, used in the server-config on a couple of
Virtual-Hosts with different paths, keeping their value
in the Apache-Daemon even when accessed through another
VirtualHost with different values:

php_admin_value doc_root /web/...
php_admin_value open_basedir /web/...
php_admin_value include_path .:/web/...

You wont see the problem right after a HUP, but if you
access one VirtualHost many times all the daemons have
those variables in them and all the other hosts only
getting those (badly wrong) values then.

Tried many things to get this to work the last 3 days
but its a reproducable and not easy discovered bug.
Finally I moved everything back to the common docroot,
the above settings are now in a common <Directory> and
of course for all PHP-enabled Hosts the same.

Thanks for your time :)


sorry for the submission as an 'Earlier'-Version,
I cant find the form for PHP4 buggies :)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-02 07:57 UTC]
Fixed long time ago. 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 20:01:24 2019 UTC