Monday, November 12, 2007

Production-ready PHP on Windows

Today Microsoft announced the general availability of their FastCGI Extension for IIS 6.0 (Windows Server 2003). This announcement comes a year after Zend & Microsoft announced a partnership geared toward delivering better interoperability between PHP and the Windows platform.

For me this announcement is an important milestone. PHP had suffered years of neglect when it came to performance and reliability on Windows. In fact, the last serious effort to make it run well on Windows was back in 2001 when a small (underground) team at Microsoft invited the PHP development team up to Redmond for a few days to work in their labs to stress and performance test PHP. Zeev Suraski, Shane Caraveo and I made the journey up there and managed to significantly improve PHP on Windows. However, due to the fact that the team at Microsoft had very little influence on the rest of the organization and them working with us was not generally viewed as a good thing, and the fact that we were still seeing less production interest of PHP, over the following five years status quo kicked in again and Windows support kept on deteriorating.

Two things have changed since then. First of all, Microsoft seems to have now more broadly understood that being the best platform to run any workload whether it’s their recommended offering or 3rd party offerings is a good thing for the Windows Server business; so folks like the ones we had worked with in 2001 can now finally come out of the closet. On our side, PHP’s market penetration has significantly changed since 2001. PHP is not only a mainstream technology in the broad sense but has been adopted by a large number of traditional Enterprises. As a result, the demand for production quality PHP on Windows has also significantly risen.

For these reasons today’s announcement is truly significant. Not only have we at Zend done a significant amount of work on profiling, testing and improving the PHP runtime itself to make Windows a 1st class citizen for PHP but with the announcement of Microsoft’s FastCGI extension for IIS6 (Windows Server 2003) PHP on Windows is now ready to go into production. As part of the benchmarking work we have done over the past year we have also tested several applications in our labs (including XOOPS and Qdig) both on Linux and on Windows and have verified a comparable level of stability and performance of PHP on Windows.

What next?
- While Microsoft’s FastCGI for IIS6 (Windows Server 2003) is a free download, Microsoft will make life even easier for Windows Server 2008 customers by bundling FastCGI support directly into the operating system. The fact that PHP has influenced the Windows Sever 2008 product roadmap approx. 1.5 years before its final release is a great testament that Microsoft is serious about making Windows Server a good host OS for PHP.
- Zend will continue to monitor and enhance PHP’s performance and reliability on Windows. Any modifications to the PHP source code as part of that effort will continue to be contributed to the PHP project.
- Zend’s production products support the Windows Server operating systems. Today Zend Core & Zend Platform together already offer performance, scalability and monitoring for business-critical applications hosted on Windows.
- Microsoft at our recent conference announced a technology preview of a new SQL Server Driver for PHP which is another step in making PHP interoperate with the Windows platform (I encourage Microsoft to also extend this support to SQL Server interoperability from PHP hosted on non-Windows servers)

Microsoft gets it right:
PHP is one of the most important driving forces behind the modern Web. Not only is PHP running some of the most scalable Web sites like Facebook and Yahoo!, but as more organizations move their applications into the browser it is one of the leading technologies being adopted for that purpose due to its ease-of-use, strong community and scalability.
Trying to force PHP into a vendor’s technology stack like some of the Java EE vendors are trying to do with PHP, would lead to the loss of the productivity and community benefits that PHP delivers. While I have no doubt that Microsoft continues to be commited to its own .Net based product strategy, I think they are doing the right thing by investing in making PHP run well and interoperate with their product portfolio.


  1. I'm very thankful to the author for posting such an amazing web development post. Continuing to the post, I want to add some interesting updates, UK's leading web development entity Rupizmedia has introduced some exciting web applications like live TV applications, CMS for Dynamic Shopping Website, Video Conferencing applications, Community softwares and more than hundreds of much awaited web products & softwares to boost any e-business in a more user-friendly way. If you want to know more about these ultimate products, which give a strong interactive approach to your online business, send a quick query through , Thanks

  2. there is so much effort in such a posting, this is still on of my #1 top blogs around php & zend.



  3. Hi, Great blog. Talking about windows, there is something I have to say. Recently I decided to change windows in my house. Looked through numerous companies and could not decide which to choose. I went to this great site to read customers reviews. And I should say it was very helpful. I made the right choice and I am completely satisfied with it.

  4. The first wow gold thing for wow gold you to consider buy wow gold about the buy wow gold Druid class cheap wow gold is this: Is the cheap wow gold Druid class wow power leveling right for wow power leveling you? The power leveling Druid class power leveling is kind of wow gold unique in that buy wow gold it's not for cheap wow gold everyone. While world of warcraft gold master of none.

  5. Nice blog. I a also ardent player of WOW GOLD. I love this game. Nice posting about wow gold. Thanks

  6. Today,we are proud to announce the launch of the new wedding support service sell ffxi gil,packed with features sure to sell ffxi gils delight adventurers across Vana'diel looking to exchange eternal vows with their beloved!Responding to player demands for greater customization,the new service will grant brides and grooms freedom in choosing location,timing,dialogue,and sell Final Fantasy XI Gil more for their ceremony,allowing them to create a truly memorable event all their own.Information on all the features,including in-game sell ffxi gil item vendors and wedding certificates,can be found on the new wedding support site,so head on over sell ffxi gils and get started planning the wedding of your dreams sell Final Fantasy XIGil!

  7. I am about to start a blog and your blog gave me much hint how to do it. I really loved to visit your blog. Hope to see more inputs from you in your blog.

    Term Papers

  8. I have really enjoyed this blog and I hope that new posts are made. I keep looking back and find no new updates. Hope you're able to keep posting with great insight on album art.

  9. Very interesting information. I was looking for this type of material. Thanks for sharing.

  10. Know your cash credit breaking point; it’s presumptively wanting what your getting confine. Surpassing your cash credit limit can originate payday loan newport_news superannuated charges and plenty of outstanding thought levels.

  11. On the spot check-cashing is another service that is oftentimes offered by day advance firms. perhaps the buyer does not have a bank account or desires immediate access to the money. A flat charge or share of the check amount ar attending to be charged as a fee. Short term loan firms generally payday loans richmond open early and shut late to require advantage of those alliance agency would love immediate access to cash.

  12. It will very take some labor associated patience waiting to look at the fruits of your labor (pun intended!) however at intervals the long you'll see associate easy auto title loans corona large savings in your grocery bill. Not too mention the non-public satisfaction you'll have after you unit able to eat fruits and vegetables right from your own garden.