Bug #14563 Updated: include_path in Apache SAPI on Win2K very broken...

From: Date: Mon, 17 Dec 2001 17:03:32 +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-74172@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:

Apache was able to read static HTML, before I did
the the following:
- set "Full control" to user "Everyone" 
- set PHP.ini -> include_path = ".:/php/includes"

I still get the same error:

Warning: Failed opening '/apache/htdocs/curl_banking.php' for inclusion
(include_path='.:/php/includes') in Unknown on line 0

(again the file has no include/require statements)

Please advise.


Previous Comments:
------------------------------------------------------------------------

[2001-12-17 11:54:55] garth@utmail.to

> Windows NT & 2000 have a permission-system (NTFS). Check it out.

Thanks, I'll try the folder permissions thing.

------------------------------------------------------------------------

[2001-12-17 11:53:06] garth@utmail.to


> There is no specific need to set it to ".". It's the default.

If it is the same as the default, shouldn't it work?

If I can't get 
  include_path="." 
to work under Win2K SAPI, how would
 include_path=".;C:\PHP\includes"
ever be able to function?


------------------------------------------------------------------------

[2001-12-17 11:53:00] sander@php.net

Windows NT & 2000 have a permission-system (NTFS). Check it out.

------------------------------------------------------------------------

[2001-12-17 11:42:15] derick@php.net

There is no specific need to set it to ".". It's the default.

------------------------------------------------------------------------

[2001-12-17 11:35:19] garth@utmail.to

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.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=14563


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



Thread (15 messages)

« previous php.dev (#74172) next »