Re: ext/java causes segfault in Apache

From: Date: Thu, 18 Jan 2001 20:35:21 +0000
Subject: Re: ext/java causes segfault in Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35433@lists.php.net to get a copy of this message
Brice, I just checked in some fixes to the ext/java/config.m4. Are your changes similar or would you like to share if they're not? As far as not being able to start JVMs, I suppose it could be a memory management issue (each JVM is somewhat resource intensive) so it's rather inefficient to do Java from PHP in this manner. I thought you're only supposed to get one JVM started per session so I'm a bit surprised it's trying to start a new one each time. A much better way to run Java in PHP is by using the PHP/Servlet feature which gives you the same capabilities but without the JVM management headaches (although there may be other headaches/bugs in PHP/Servlet that may cause failures after a few attempts as well, which I'm currently investigating). The caveat is that you'll need a Servlet capable web server such as Tomcat or JServ plugged into your Apache. Alex

« previous php.general (#35433) next »