User-638140034 posted
I have just installed PHP 5.2.4, and found that now IIS is raising the following error
Server Error in Application "default"
HTTP Error 502.2 - Bad Gateway
Description: The specified CGI application did not return a complete set of HTTP headers.
Error Code: 0x00000000
Notification: ExecuteRequestHandler
Module: CgiModule
Requested URL: http://localhost:80/index.php
Physical Path: C:\inetpub\wwwroot\default\index.php
Logon User: Anonymous
Logon Method: Anonymous
Handler: PHP
Most likely causes:
- The CGI process was shut down or terminated unexpectedly before it finished processing the request.
- The CGI process has a flaw and does not return a complete set of HTTP headers.
What you can try:
- Check the event logs on the system to see whether the CGI process is shutting down unexpectedly.
- Troubleshoot the CGI application to determine why it is not sending a complete set of HTTP headers.
More Information...
This error occurs when the CGI process handling the request exits before it finishes sending the response to IIS.
Server Version Information: Internet Information Services 7.0.
I uninstalled FastCgi preview2, then reinstalled it - no change.
I remapped the handler to use the updated php dll file in C:/PHP - no change
overwrote the php.ini in windows - no change
I have noticed that if you change the mapping to php.exe instead of the php5ts.dll interpreter, you get an error 500 instead of 502
Can anyone help me out?
Im running Vista Ultimate with IIS 7.0.
thanks