PHP on .NET

Filed in the interesting, but probably won't use category...

http://www.php-compiler.net/ - some people have written a PHP implementation built on top of the .NET platform. What's more shocking? Some initial benchmarks have it out-performing PHP on Apache. The developers said they are not Mono compatible yet, but something they'll be looking at.

What I'd be most interested in finding out is did they build on top of the HttpRuntime? I wrote a light-weight Cold Fusion implementation on top of the HttpRuntime a long time ago, so I know something like this would be possible - or did they write all the plumbing themselves. If the core is built on top of the HttpRuntime it would make integration of PHP and ASP.NET applications together on IIS amazingly easy.

Published Sunday, March 20, 2005 6:15 PM by Rob Howard

Comments

# re: PHP on .NET

Monday, March 21, 2005 8:15 AM by Tomas Matousek
Hi!
Yes, we did it on HttpRuntime. We made a request handler implementing IHttpHandler and IRequiresSessionState so that ASP.NET calls us to process .php request. We are also using ASP.NET sessions so other ASP.NET applications should be able share session state with PHP.

# re: PHP on .NET

Monday, March 21, 2005 9:35 AM by Rob Howard
Wow. Now that is just cool!

# re: PHP on .NET

Monday, March 21, 2005 12:50 PM by Kevin Harder
That sounds alot like the Blue Dragon (http://www.newatlanta.com/products/bluedragon/product_info/overview.cfm) CFML on HttpHandler program.

Wow Rob, I didn't know you had done something like that as well in the past. Very cool. Was that part of a Microsoft project?

# PHP and ASP.NET - Together at Last?

Monday, March 21, 2005 1:08 PM by TrackBack

# Phalanger - PHP Language Compiler for .NET Framework

Wednesday, March 23, 2005 7:31 PM by TrackBack

# re:PHP on .NET

Sunday, April 10, 2005 7:22 AM by TrackBack
^_^,Pretty Good!

# re:PHP on .NET

Sunday, April 17, 2005 4:12 AM by TrackBack
^_~,pretty good!

# re: PHP on .NET

Thursday, May 24, 2007 2:51 AM by Stether

cigarettes.blogbugs.org - cigarettes blog