tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: Tomcat supporting PHP
Date Thu, 19 Jul 2007 09:15:01 GMT
Henri Gomez wrote:
> PHP rewritten in Java could be a good idea for the core but what about
> the various extensions ?

That is a very hard part that needs JNI to load and to interface the API 
of the extensions. There are also very easily threads and memory models 
problems. Such a wrapper seems a huge thing to write.

Cheers

Jean-Frederic


> 
> Of course it couldn't be a Tomcat project
> 
> 2007/7/19, jean-frederic clere <jfclere@gmail.com>:
>> Hi,
>>
>> I am thinking that this thread goes to nowhere...
>>
>> To get some php stuff in TC you have 3 solutions:
>> 1- FastCGI.
>> 2- PHP engine embedded in in the JVM.
>> 3- PHP rewritten in JAVA.
>>
>> 1 - That probably the best solution but  you need a FastCGI proxy
>> servlet (Could be a good application for the new Comet stuff).
>>
>> 2 - That also needs a servlet and a careful build of the php engine and
>> it extensions.
>>
>> 3 - I don't think that the scope of the Tomcat project.
>>
>> Cheers
>>
>> Jean-Frederic
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message