Bug #14563 Updated: include_path in Apache SAPI on Win2K very broken...
| From: | garth at utmail dot to | Date: | Mon, 17 Dec 2001 16:35:20 +0000 |
| Subject: | Bug #14563 Updated: include_path in Apache SAPI on Win2K very broken... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74167@lists.php.net to get a copy of this message | ||
ID: 14563
User updated by: garth@utmail.to
Reported By: garth@utmail.to
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows 2000 (Win2K)
PHP Version: 4.1.0
New Comment:
When my PHP.ini is set with:
include_path =
-> I have no problems with SAPI version
When it is set to:
include_path = "."
-> It gives that error...
I don't understand how this could be a permissions
issue, why would the web server be able to read the
file when include_path is blank but not when the
include_path is set to the local directory?
I've seen the error on UNIX systems when you have
a file set to 600, but this is Win2K.
Previous Comments:
------------------------------------------------------------------------
[2001-12-17 11:06:12] sander@php.net
(reclassified for the stats ;)
------------------------------------------------------------------------
[2001-12-17 11:04:46] sander@php.net
This is a problem with your permissions. Check if the webserver has read access to the file.
------------------------------------------------------------------------
[2001-12-17 11:01:14] garth@utmail.to
I've seen a few bugs registered on this before and the
dev team hasn't seemed to have been able to replicate
this bug...
The bug is very strange in that it effects the SAPI
version of the code on Win2K, but the same build running
as a CGI .EXE is not effected.
Specifically, when one puts ANYTHING as the value for
*include_path* in the PHP.ini file the apache SAPI will
fail.
When I say anything this includes setting it to only ".",
which should work for the local directory's includes.
Here is the message you get (fyi the file being processed
has no include/require statements and it there is no prepend
or append file set in PHP.ini -- 4.1.0)
Warning: Failed opening '/htdocs/test/dir.php' for inclusion
(include_path='.') in Unknown on line 0
I have observed this bug 4.06, 4.08, 4.1.0 ...
I'm not sure if other breeds of Win32 are effected.
-Garth
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14563&edit=1