Tales from the Evil Empire

Bertrand Le Roy's blog

News


Bertrand Le Roy

BoudinFatal's Gamercard

Tales from the Evil Empire - Blogged

Blogs I read

My other stuff

Archives

Improving PHP by running it in IIS

Mike Volodarsky wrote a fantastic article in the January 2008 issue of MSDN magazine in which he explains how you can take an existing PHP application (he uses QDig, a popular image gallery) and improve it without touching a line of its code. This is a great demonstration of the power of IIS 7's modular and pluggable architecture. Mike was able to add the following features to this PHP application using only managed code modules and configuration:

It really is amazing that you can add such complex features to an existing web application without touching its code. It is also super-simple to do. It looks very much like aspect-oriented programming if you think about it, only it's easy to set-up and understand.

The only thing I'd have liked to see and that isn't in the article is a comparison between the performance of the application on a LAMP setting with Zend's platform configured and the performance of the same application with Mike's improvements on IIS.

http://msdn.microsoft.com/msdnmag/issues/08/01/PHPandIIS7/default.aspx

Posted: Jan 25 2008, 12:13 PM by Bertrand Le Roy | with 4 comment(s) |
Filed under: , , ,

Comments

Andrei Rinea said:

Zend doesn't even publish the price for the platform, just a blank "contact sales" link. Lame!

# January 27, 2008 6:53 AM

Paul Anthony said:

Thats pretty cool, although I can't imagine many shared servers would make any use of it..Its a different story if you roll your own.

# February 3, 2008 7:35 AM

Bertrand Le Roy said:

I'm not sure, Paul, if hosters start getting better performance and site density from IIS+PHP they might very well do the math and start migrating...

# February 4, 2008 2:42 PM

Girish Singh said:

Seems pretty neat to me, I mean I always thought php was born to be with apache, I guess thats gonna change very soon

# April 4, 2008 11:20 PM