Update for IIS 7.0 FastCGI module

IIS team has released an update for IIS 7.0 FastCGI module that fixes compatibility problems with several popular PHP applications, including WordPress and Drupal. In particular, the update changes the behavior of FastCGI module with regards to how it sets the REQUEST_URI server variable. It is recommended that you download and install the update to ensure that FastCGI module in IIS 7.0 is fully compatible with your PHP applications.

PHP support in IIS 6.0 and IIS 7.0

Fast and reliable hosting of PHP applications in IIS

The FastCGI protocol enables PHP applications to be hosted on the IIS web server in a high-performance and reliable way. FastCGI provides a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications with Web servers that has been supported as part of the IIS feature-set since the very first release.

CGI programs are executables launched by the web server for each request in order to process the request and generate dynamic responses that are sent back to the client. Because many of these frameworks do not support multi-threaded execution, CGI enables them to execute reliably on IIS by executing exactly one request per process. Unfortunately, it provides poor performance due to the high cost of starting and shutting down a process for each request.

FastCGI addresses the performance issues inherent to CGI by providing a mechanism to reuse a single process over and over again for many requests. Additionally, FastCGI maintains compatibility with non-thread-safe libraries by providing a pool of reusable processes and ensuring that each process will only handle one request at a time.

Enabling FastCGI support in IIS

Both IIS 6.0 and IIS 7.0 now include FastCGI protocol implementation: in IIS 7.0 there is a built-in FastCGI module; IIS 6.0 has an add-on FastCGI extension. IIS 7.0 is shipped as part of Windows Server 2008 and it is also included in Windows Vista SP1, which means that FastCGI module is available on both of those platforms. FastCGI extension for IIS 6.0 can be installed on Windows Server 2003 and on Windows XP.

 

Resources to Get Started with PHP on Windows

Getting started with PHP on Windows

 

Page view counter