Friday, June 26, 2009

PHP 5 on Tomcat

Recently I came across this article on configuring Tomcat (>= 5) to interpret PHP 5 scripts. This is developed by Quercus. There is an open source version with GPL license. (oh no!).

Anyways, one can configure Tomcat to work with PHP in 30 seconds and it is quite interesting. There are three jars associated with this task, quercus.jar, resin-util.jar, and script10.jar.

Well these jars are not OSGi compatible. It is simple to convert these to OSGi bundles and I am really looking forward to see how these behave in Equinox. You can have servlets, jsp, etc plus php in one container. Owesome!.

4 comments:

Unknown said...

Quercus is awesome. Thanks for posting this. You are now my favorite blogger!!

Clarence Liu said...

If you use Tomcat and want to side-step Caucho/Resin try: http://php-java-bridge.sf.net

It's a proper way to integrate php and tomcat

Stephenwilliams said...

I love your post because You made some good points there. I did a search on the topic and found most people will agree with your blog.

classified php script

Anonymous said...

Eat No Chips: the new taste of the best chip in
It's vua nhà cái been a year since the company announced that it was putting chips on all of its ミスティーノ chip farms. They've got a chip and a few of them. starvegad