I've updated PHP to 4.3.2 [ISAPI], but it doesn't help [still running W2K and IIS 5.0].
I noticed that, when I type anything that ends with .php extension I get warning message:
[...] failed to open stream: No such file or directory in Unknown on line 0,
but when I try to refresh the non existing page, the warning disappears and I get blank page.
Here are some similar bugs:
http://bugs.php.net/bug.php?id=14409
http://bugs.php.net/bug.php?id=16450
I guess that I'll have to setup PHP to execute as CGI, here is the quote from install.txt:
PHP 4 for Windows comes in two flavours - a CGI executable (php.exe), and several SAPI modules (for exapmle php4isapi.dll). The latter form is new to PHP 4, and provides significantly improved performance and some new functionality. However, please note that the SAPI modules are NOT yet considered to be production quality.
In particular, with the ISAPI module, you are likely to encounter serious reliability problems especially on platforms older than W2K - you may witness a lot of server 500 errors and suffer from other server modules such as ASP also failing. You have been warned!
The reason for this is that the PHP SAPI modules are using the thread-safe version of the PHP code, which is new to PHP 4, and has not yet been tested and pounded enough to be considered completely stable, and there are actually a few known bugs. On the other hand, some people have reported very good results with the SAPI modules, and there a few reports of problems with the Apache module version.
In short - your mileage may vary; If you need absolute stability, trade the performance of the SAPI modules with the stability of the CGI executable.
ISAPI version works just fine, except for this stupid annoyance...