ID: 14563 Comment by: [EMAIL PROTECTED] Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 (Win2K) PHP Version: 4.05,4.06,4.08,4.1.0 New Comment:
See: http://bugs.php.net/bug.php?id=14797 Previous Comments: ------------------------------------------------------------------------ [2001-12-18 15:17:01] [EMAIL PROTECTED] I think this is a duplicate of bug #11612 http://bugs.php.net/bug.php?id=11612 Here's a summary of the bug: Error Message: Warning: Failed opening '/apache/htdocs/helloworld.php' for inclusion (include_path='.') in Unknown on line 0 Script to create error: <?php echo "hello world"; ?> When it appears: - Appears only in PHP SAPI/APX plug-in for Apache on Windows 2000... 4.06, 4.08, 4.1.0 are all effected. - The error occurs only when include_path is given a value (any value including '.') When it doesn't appear: - In PHP SAPI/APX plug-in when include_path is not set, there's no problem. - When running the CGI version (PHP.EXE) of the same releases there's no problem. Possible workarounds that were tried and don't work: - Opening folder permissions to 'Everyone' with 'Full Control'. - Using just setting include_path to '.' - Switching the order of include_path dirs i.e. 'C:\Apache\includes\;.' - Using php_value include_path '.' in Apache's httpd.conf ------------------------------------------------------------------------ [2001-12-17 12:10:25] [EMAIL PROTECTED] > Windows needs a ; as seperator between include paths, not : yep I know, uncommented the wrong line... effect is the same... Changed PHP.ini to include_path = ".;y:\apache\includes" restarted apache Warning: Failed opening '/apache/htdocs/curl_banking.php' for inclusion (include_path='.;y:\apache\includes') in Unknown on line 0 ------------------------------------------------------------------------ [2001-12-17 12:07:22] [EMAIL PROTECTED] Windows needs a ; as seperator between include paths, not : ------------------------------------------------------------------------ [2001-12-17 12:06:19] [EMAIL PROTECTED] sorry, changed it back to include_path = "." restarted apache Warning: Failed opening '/apache/htdocs/curl_banking.php' for inclusion (include_path='.') in Unknown on line 0 ------------------------------------------------------------------------ [2001-12-17 12:03:32] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ 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 -- 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]