ID: 14563 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Configuration Issues Operating System: Windows 2000 (Win2K) PHP Version: 4.1.0 New Comment:
There is no specific need to set it to ".". It's the default. Previous Comments: ------------------------------------------------------------------------ [2001-12-17 11:35:19] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2001-12-17 11:06:12] [EMAIL PROTECTED] (reclassified for the stats ;) ------------------------------------------------------------------------ [2001-12-17 11:04:46] [EMAIL PROTECTED] This is a problem with your permissions. Check if the webserver has read access to the file. ------------------------------------------------------------------------ [2001-12-17 11:01:14] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]