From:             [EMAIL PROTECTED]
Operating system: Linux i386
PHP version:      4.1.0
PHP Bug Type:     *Configuration Issues
Bug description:  Wrong include_path from Apache <Directory> config

We have a virtual host here where the include_path varies
per directory.  We configure this in the Apache config
(php as a DSO module) like this:

<Directory /var/www/html/dir1>
  php_value include_path ".:/var/www/html/dir1/lib"
</Directory>
<Directory /var/www/html/dir2>
  php_value include_path ".:/var/www/html/dir2/lib"
</Directory>
(and many more)

We have tried this with many versions of Apache 1.3.x
and php-4.0.x (up to apache-1.3.22 / php-4.1.0RC3) and
all combinations exhibit the same problem:  If there are
two or more concurrent users that access different
directories of this virtual host, one or more of them get
pages with php errors, because the php scripts don't
get the include files they need.  The error messages show
clearly that the include files were searched via a wrong
include_path, i.e. one out of the other <Directory ..>
sections of the same virtual host.

We used both standard Redhat 7.x apache and php RPMs, as
well as self-compiled RPMs based on Redhat's SRPMs, all
with the same result/problem.

If you need more specific information, please ask.

-- 
Edit bug report at: http://bugs.php.net/?id=14401&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to