Get GlassFish V2 Purchase Support Worldwide
« Disabling HTTP Sessi... | Main | GlassFish and Apache »
Feb 06
20
PHP in GlassFish
  Posted by pelegri in GlassFish

PHP Logo

The GlassFish Forum has a thread on Running PHP on GlassFish. The gist of the thread seems to be that this works. The solution presented by bjb uses recipes for Tomcat given at The Tomcat Wiki and at Simple Thoughts. Bjb's last message adds some clarifications.

I would love to have additional confirmations, a full, self-standing recipe, and more information on how well does it work; if you do, please post.

Comments:

How about Ruby on Glassfish?

Posted by Roman Strobl on February 20, 2006 at 04:19 AM PST #

Didn't the Caucho guys do a native Java compiler and interpreter for PHP?

Posted by Mikael Gueck on February 20, 2006 at 05:21 AM PST #

The blog comments make it sounds like a mess. It looks like a recipe for JVM instability. I think using AJP in front of Glassfish/Tomcat and running PHP there is simpler. The PHP code doesn't benefit from JVM integration, anyway.

Posted by Migs on February 20, 2006 at 05:47 AM PST #

Found it, http://www.caucho.com/resin-3.0/php/tutorial/module/index.xtp

Posted by Mikael Gueck on February 20, 2006 at 05:54 AM PST #

Talking about Ruby, I don't know much of this, but google land me on http://rjni.rubyforge.org/ which could be a good start to provde the same kind of early integration. Maybe a better (more stable?) one would be done using JRuby http://jruby.sourceforge.net/ but I compatibility between latest Ruby and JRuby is unclear for me at this time. What was a nice point for me on the PHP integration I pushed as an answer on the forum was that code was available from PHP distribution site ;-)

Posted by bjb on February 20, 2006 at 06:35 AM PST #

Hi Migs. If you have an alternate recipe, send it and I'll collect it and make it available for the community to try. Thanks, - eduard/o

Posted by Eduardo Pelegri-Llopart on February 20, 2006 at 11:39 AM PST #

re: Ruby/JRuby I think we should explore both approaches. JRuby seems an interesting but probably longer-term approach. If there was interest we could explore some ad-hoc group about GF & Scripting languages. - eduard/o

Posted by Eduardo Pelegri-Llopart on February 20, 2006 at 11:44 AM PST #

Thanks for the link to the Quercus/PHP work. One of the hard topics about PHP is that a number of the modules are not thread-safe; another are non-native modules. A practical approach needs to work within those constraints. - eduard/o

Posted by Eduardo Pelegri-Llopart on February 20, 2006 at 11:47 AM PST #

Post a Comment:

Comments are closed for this entry.

Languages

The Aquarium TV

White Papers

GlassFish Podcast

Companion Sites

Search

Popular Tags

adoption ajax clustering comet community frontpage glassfish grizzly hudson java javaee javaee6 javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf liferay metro mysql netbeans notd opends openesb openmq opensolaris opensource opensso performance portal rails rest ruby sailfin scripting sip stories sun tools updatecenter v2 v3 webinar webservices weekly

Useful Pointers

Friends and Relatives

Offers and Promos

Adoption Stories

News by Mail

Feeds and Tweets

FB Twitter

Contact Us

Send feedback and leads to theaquarium@sun.com

Downloads

Events

Related Links

Recent Entries

Navigation