From:             [EMAIL PROTECTED]
Operating system: Windows 2000 (Win2K)
PHP version:      4.1.0
PHP Bug Type:     Reproducible crash
Bug description:  include_path is badly broken in SAPI version

Note: Please ONLY look at this bug if you have a 
system that can replicate the environment detailed 
below...

Environment
-----------
OS: Windows 2000 Pro or Server
Webserver: Apache 1.3.x
PHP: 4.05, 4.06, 4.08, 4.1.0 running as an SAPI Apache module.  

HTTPD.CONF (SAPI module not PHP.EXE CGI)
----------------------------------------
SAPI mode is:
  LoadModule php4_module "./php/sapi/php4apache.dll"

SAPI mode is NOT:
  Action application/x-httpd-php "/php/php.exe" 

If you are running in SAPI mode and you set the 
value of include_path in C:\WINNT\PHP.INI to ANYTHING
other then "" (empty), you will get an error similar
to:

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

The test script to create the error is:
<?php
echo "hello world";
?>

this bug has been errnously closed twice by folks
who have not been able to replicate it be cause they
don't have the right system config
http://bugs.php.net/bug.php?id=11612 ([EMAIL PROTECTED])
http://bugs.php.net/bug.php?id=14563 (myself)

-GED

-- 
Edit bug report at: http://bugs.php.net/?id=14650&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]

Reply via email to