Bug #14401: Wrong include_path from Apache <Directory> config

From: Date: Mon, 10 Dec 2001 13:51:34 +0000
Subject: Bug #14401: Wrong include_path from Apache <Directory> config
Groups: php.dev 
Request: Send a blank email to php-dev+get-73082@lists.php.net to get a copy of this message
From: vogel@folz.de 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

« previous php.dev (#73082) next »