FastCGI Configuration

FastCGI is a newer version of CGI that adheres to most of the original specifications. However, rather than shutting down a process at the end of a request, the process is allowed to stay running and process other requests. The IIS 8.0 FastCGI implementation, like CGI, is single threaded, but a server can process more requests than with CGI because the processes stay open. On IIS 8.0, FastCGI is implemented as a native module using the built-in APIs.

FastCGI offers significant performance benefits over the original CGI implementation on Windows, due to avoidance of the significant overhead in starting and terminating processes that is incurred when using the original CGI module.

Because FastCGI is a single-threaded application, it has to start multiple processes to handle multiple requests. The processes can be pooled together into groups, and the groups can then be managed together. The properties of a process group can be managed. For example, the number of processes in the group and the number of requests a process can handle before being recycled are each properties that can be managed. In addition to the multiple processes in a process group, FastCGI can have multiple process groups running. Each of these process groups can have its own settings.

Included here is a step-by-step process to install the QDig PHP application on your server using FastCGI. You will need the following prerequisites:

  • IIS 8.0 installed
  • The Default Web Site that was installed ...

Get Professional Microsoft IIS 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.