Wednesday March 28, 2007 17:52
MTS07: PHP on IIS7
IIS7 guys, Bill Staples and Carlos Aguilar revealed Apache-like module written c# code, Tomcat-like configuration based on XML and light-weight web server. It’s big changes after IIS6 in 2003, in fact so late.
They gave a demonstration of creating an IIS7 module with 40 lines of C# code. So it had already over 30 managed modules over native functions of IIS6. All of the configurations and logs are XML editable in notepad or XML editor, but also offered equivalent of existing user interface.
I was excited to see PHP performance on IIS7. It might be first demonstration of PHP on IIS that already was great. Bill gave a demo of configuring IIS7 to integrate with PHP. By switching from general CGI to FastCGI, they doubled the throughput from 28req/sec to 58req/sec.
He then demoed â€œdynamic response cachingâ€, which of course dramatically increases performance in this case, from 58req/sec to 7942req/sec. You can see this video captured by me.
In Korea, there are many web hosting companies that operate two platform LAMP and Windows. Many people have preferred PHP environment on Linux because of there are many useful free web applications, and windows media services for providing widely audio and video in broadband.
But, it’s very expensive to maintain two platforms in small companies such as different technical support, user authentication and disk managements etc… The PHP on IIS7 will be change of thoughts. It’s first step of WIMP(Windows Vista + IIS7 + MySQL + PHP).
You can read more things about IIS7 in http://www.iis.net with various documents and video.