How can I disable FastCGI on a Windows IIS 6 server?


We use WordPress for our company website and it has crashed for no discernible reason. It gives an error message like this:

FastCGI Error
The FastCGI Handler was unable to process the request.

Error Details:

    The FastCGI process has failed frequently recently. Try the request again in a while
    Error Number: -2147467259 (0x80004005).
    Error Description: Unspecified error

HTTP Error 500 - Server Error.
Internet Information Services (IIS)

After reading up, it seems that WordPress does not work well with FastCGI and doesn't need to be used with it. Would anyone kindly be able to tell me how to turn FastCGI's interaction with WordPress off?

asked on Server Fault Jul 24, 2014 by asharpdesigner

1 Answer


I have had the same experience. To disable FastCGI on my wordpress installations, I have done the following:

In the IIS manager, I created an App Pool for wordpress. Then, under "Web Sites", browse to the folder containing your WordPress installation. Right click on that folder, and select "Properties."

On the "Directory" tab, create an application. Select the App Pool created for WordPress, and then click the "Configuration" button. Remove any Wildcard application maps. In the list of Application extensions, scroll down to ".php" and click "Edit...". Set the executable path to wherever you installed PHP, with php-cgi.exe as the executable (e.g. c:\ProgramFiles\PHP5\php-cgi.exe).

Save, restart IIS, and it should work.

What I would like to know is how to completely disable fastcgi once it's been set up.

answered on Server Fault Oct 2, 2014 by user246324

User contributions licensed under CC BY-SA 3.0