PHP 4.0 Bug #3826: Warning: Failed opening 'D:\BMC\E-Trigger\wwwroot\status.php' for inclusion (in
| From: | vitaly_morozov at bmc dot com | Date: | Tue, 14 Mar 2000 12:29:04 +0000 |
| Subject: | PHP 4.0 Bug #3826: Warning: Failed opening 'D:\BMC\E-Trigger\wwwroot\status.php' for inclusion (in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16782@lists.php.net to get a copy of this message | ||
From: vitaly_morozov@bmc.com
Operating system: WIN/NT 4 SP5 , IIS5
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Dynamic loading related
Bug description: Warning: Failed opening 'D:\BMC\E-Trigger\wwwroot\status.php' for
inclusion (in
Hi .
I running PHP4 on NT4 SP5 where PHP runs as ISAPI filter and have following problem:
One of the frames on my screen is php script which runs every 10 seconds according to
<META HTTP-EQUIV=REFRESH CONTENT=10>
After about 40 minutes of working (it works fine) I get following error message:
Warning: Failed opening 'D:\BMC\E-Trigger\wwwroot\status.php' for inclusion
(include_path='.;D:\BMC\E-Trigger\wwwroot\Scripts;D:\BMC\E-Trigger\wwwroot;D:\BMC\E-Trigger\wwwroot\Docs')
in [no active file] on line 0
After it happens I can't run any php script (I receive same error message) untill I restarting
IIS.
When PHP configured as CGI it works fine.
If it's a bug ?
status.php:
<HTML>
<META HTTP-EQUIV=REFRESH CONTENT=10>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<BODY BGCOLOR="#E6E8D2">
<FONT color=brown size=+1>
<p> Status:
<?php
include("defs.inc");
if (file_exists(SESSIONS_DIR ."/u" . $sessId . ".stat") == false)
PRINT "None";
else
{
$fp = fopen(SESSIONS_DIR ."/u" . $sessId . ".stat","r");
if (!feof($fp))
{
$buffer = fgets($fp,4096);
PRINT "<A HREF=\"show_output.php\"
TARGET=\"main\">$buffer</A><p>
";
}
}
?>
</BODY>
</HTML>
php.ini - only line changed :
include_path = ".;'D:\Program Files\BMC\E-Trigger\wwwroot\scripts;D:\Program
Files\BMC\E-Trigger\wwwroot" ; UNIX: "/path1:/path2" Windows:
"\path1;\path2"
Vitaly.