Re: persistent java virtual machine under PHP

From: Date: Thu, 05 Dec 2002 11:17:27 +0000
Subject: Re: persistent java virtual machine under PHP
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-92107@lists.php.net to get a copy of this message
There is a servlet which accepts requests and uses native code from libphp4.so to execute them. At the same time, the Java extension is used to provide access to Java objects from PHP itself.
but the ext/java as it is would not be suitable, as it would spawn new JVMs every once in a while (thus it would use a different JVM then the one that called the PHP page).
No, I have been told (by someone, I do not remember) that if you use PHP as a servlet ext/java would use the same JVM. I haven't check to see whether that is correct.
Where can I find documentation for calling libphp4.so? How do I execute a PHP script by calling some functions in libphp4.so?
/sapi/servlet Bye, Ivan

« previous php.dev (#92107) next »