Hello.
I installed PHP as a ISAPI Module, not cgi a month ago. The php works and all my scripts work on it, but I just found out that when you go to a "php" file that is not there(missing) it does not display the regular html 404 error, instead it gives you an error about includes, a php error:

Warning: Unknown(C:\Folder\missingfile.php): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening C:\Folder\missingfile.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0

I know this is a problem with IIS more then it is with PHP, PHP is installed as an ISAPI Filter, and could this be caused by IIS automatically directing all traffic to php before it find out if it is there or not? Thanks

    Write a Reply...