I,m trying to run PHP 5 on IIS 6 on Windows 2003, and got this error when I entered this in my browser address bar:
<!-- m --><a class="postlink" href="http://localhost/test.php">http://localhost/test.php</a><!-- m -->
test.php contains this code.
<?php
phpinfo();
?>
The error I got is:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Can anybody help?Haha.
I could be a jackass and say read the manual.
-OR-
Tell you that something isn't setup right with PHP working with IIS. (duh)
-OR-
I could tell you that installing PHP as a CGI-Module in IIS is suicide.
Therefore I will refer you to the install file that comes with the zipped file. There it will describe how to install PHP with IIS.
The quicker way would be to check out: <!-- m --><a class="postlink" href="http://bugs.php.net/bug.php?id=25863">http://bugs.php.net/bug.php?id=25863</a><!-- m -->
That should do the trick for ya. :-D
ChadHi,
if that error doesn't get displayed every time but rather randomly then check out this kb (<!-- m --><a class="postlink" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;884764">http://support.microsoft.com/default.as ... -US;884764</a><!-- m -->)
Thomas
<!-- m --><a class="postlink" href="http://localhost/test.php">http://localhost/test.php</a><!-- m -->
test.php contains this code.
<?php
phpinfo();
?>
The error I got is:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Can anybody help?Haha.
I could be a jackass and say read the manual.
-OR-
Tell you that something isn't setup right with PHP working with IIS. (duh)
-OR-
I could tell you that installing PHP as a CGI-Module in IIS is suicide.
Therefore I will refer you to the install file that comes with the zipped file. There it will describe how to install PHP with IIS.
The quicker way would be to check out: <!-- m --><a class="postlink" href="http://bugs.php.net/bug.php?id=25863">http://bugs.php.net/bug.php?id=25863</a><!-- m -->
That should do the trick for ya. :-D
ChadHi,
if that error doesn't get displayed every time but rather randomly then check out this kb (<!-- m --><a class="postlink" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;884764">http://support.microsoft.com/default.as ... -US;884764</a><!-- m -->)
Thomas