I'm trying to configure a new install of PHP 5.0.4 on a Windows 2003 server using the IIS 6.0 webserver. When I run the <?php phpinfo(); ?> script I get the following error:
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I have performed the following tests: 1) Verified that the following web service extensions are allowed in IIS: php.exe, php5isapi.dll, php5ts.dll, php-cgi.exe, php-win.exe 2) Created virtual directory with web application test code and html: http://localhost/support/test.php 3) Verify that virtual directory has read and execute permissions for scripts and executables. 4) Enable default content page of "index.php" 5) Under default website -> Home Directory -> Application Configuration created .php extension with execution path of "C:\php\php-cgi.exe" and allow "All" Verbs. 6) Verify that Internet Guest Account (<srvname>\IIS_<srvname>) and IIS security group (<srvname>\IIS_WPG) both have read and execute permissions on "C:\php" and "C:\php\php-cgi.exe". 7) Added "C:\php" to system path variable. 8) Added "header("Content-Type: text/HTML");" to script as suggested in thread "php5 on IIS6 (CGI Error)". 9) Successfully executed "php -i" from command prompt on server with no error messages returned. I'm still having the same trouble. Any additional recommendations or help greatly appriciated. Thanks, Mac