|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6374 include_path in .htaccess accross multiple vhosts
Submitted: 2000-08-27 07:20 UTC Modified: 2004-01-28 14:26 UTC
From: jesper at jdn dot dk Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (27/08/2000) OS: FreeBSD 4.1-STABLE
Private report: No CVE-ID: None
 [2000-08-27 07:20 UTC] jesper at jdn dot dk
We discovered a bug (or so we think) when tryind to use .htaccess files to set the include path.

on first virtual host. (Apache 1.3.12) the .htaccess file includes the following line:

php_value include_path '/some/path/to/includes'

when pages from the dir including this .htaccess file is displayed, the 2. virtual host bums out with an error when trying to use include(). "Failed to include....."

Hope this is enough, otherwise feel free to contact me for further info.

/Jesper Dalberg


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-04 00:52 UTC]
See bug #25753 (placeholder for all these reports about leaking php ini settings)

 [2004-01-28 14:26 UTC]
This should now be fixed in CVS. Fix scheduled for PHP 4.3.5.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 22 18:01:24 2020 UTC