php.net |  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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 [2004-01-28 14:26 UTC] sniper@php.net
This should now be fixed in CVS. Fix scheduled for PHP 4.3.5.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 13:01:31 2024 UTC