FastCGI part 2

More supermanspeed with php? use the new released FastCGI component from the IIS team.

The FastCGI Technical Preview 2 has been released! This is the second release of the FastCGI component for IIS 5, 6, and 7 since the original announcement of Microsoft’s collaboration with Zend to deliver production quality PHP support for IIS on Windows.

The FastCGI Technical Preview 2 addresses all of the compatibility issues reported by the community for the original release, and adds a number of features to improve the experience of hosting PHP applications on Windows / IIS. It also provides support for deploying the FastCGI component on 64 bit operating systems.

What is FastCGI?

Today a found this artilce from the IIS team people.

Today, Microsoft and Zend announced a joint technical preview aimed at providing best-ever support for running PHP applications on IIS in a reliable, and hi-performance way.

What is FastCGI?

The IIS FastCGI component enables popular application frameworks like PHP 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 overcomes this performance penalty by re-using CGI processes to service subsequent requests, while continuing to ensure single request concurrency.

This technical preview contains an IIS7 module that provides FastCGI support on Windows Vista and Windows Server codenamed “Longhorn” Technical Preview releases, and an ISAPI extension that provides FastCGI support for previous versions of IIS on Windows Server 2003, Windows XP, and Windows 2000. The Microsoft FastCGI component for IIS feature provides improved performance and (when the final version is released) will be supported along with the rest of the IIS feature-set.

If you want to learn more about the FastCGI protocol, read more at

Why is FastCGI important?

Most applications built to for IIS take advantage of the native, multi-threaded extensibility model of IIS. Many popular applications, particularly those written or originally designed for Linux, are not multi-threaded, and instead take a multi-process approach to concurrency. While the PHP engine itself is multi-thread capable, many of the popular PHP extensions are not, requiring a single concurrent request guarantee to operate reliably. This forces the use of CGI and results in poor performance on the Windows platform. FastCGI helps these application frameworks to achieve improved performance on Windows over CGI, while allowing stable operation in production environments.

Where can I download FastCGI?

The Microsoft IIS FastCGI technical preview provides two FastCGI packages for use with different versions of IIS:

* IIS 7 on Windows Vista and Windows Server codenamed “Longhorn” – download here.
* IIS 5.x / IIS 6 on Windows XP and Windows Server 2003 – download here.

Both FastCGI packages are fully compatible with the current official PHP distribution for Windows available from

However, Zend’s Zend Core for Windows technical preview provides a PHP distribution that has been optimized for Windows, resulting in much better core PHP performance then was ever possible in the past.

It is recommended that you download the Zend Core for Windows technical preview for use with the IIS FastCGI package to provide the best available level of PHP performance and stability.

View all the info at the source.

Will PHP have superman speed on IIS 7?

I have just read a post from Mike Volodarsky about PHP on IIS 7. And this will rock the world.. :).
The parsing of PHP will be lighting fast. read more at the source.

Right as I was about to go home, one of our developers comes in to tell me some good news about our new IIS7 FastCGI module. So, I figure I would shed some light on our recent work to improve hosting PHP (yes, you read right, PHP) applications on Windows/IIS.

The IIS team is committed to providing production quality support for PHP applications, which is currently lacking on the Windows platform. It turns out, while 70%+ of PHP developers develop on Windows, actually hosting PHP applications on Windows is not recommended by the PHP community for production. Why?
Here is the reason…