php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3826 Warning: Failed opening 'D:\BMC\E-Trigger\wwwroot\status.php' for inclusion (in
Submitted: 2000-03-14 07:29 UTC Modified: 2000-08-09 06:22 UTC
From: vitaly_morozov at bmc dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0 Beta 4 Patch Level 1 OS: WIN/NT 4 SP5 , IIS5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vitaly_morozov at bmc dot com
New email:
PHP Version: OS:

 

 [2000-03-14 07:29 UTC] vitaly_morozov at bmc dot com
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>&nbsp;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> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
			}
		
		}
		?>
	</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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-30 00:01 UTC] zak@php.net
Have you installed a new release of PHP?  If so, does the problem still occur?

Also note that the ISAPI version is not as robust as the CGI version.
 [2000-08-09 06:22 UTC] stas@php.net
user reports it fixed, close
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 16:01:36 2025 UTC