ID: 16402 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Servlet related Operating System: RedHat Linux PHP Version: 4.1.2 New Comment:
Okay, I got it to work _once_ and it subsequently makes the JVM dump core and exit! Yikes! Here's part of the dump: Unexpected Signal : 11 occurred at PC=0x4035E9F9 Function=method__5JNIid+0x15 Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so Current Java thread: at net.php.servlet.send(Native Method) at net.php.servlet.service(servlet.java:188) at net.php.servlet.service(servlet.java:212) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) [...snip...] # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) Previous Comments: ------------------------------------------------------------------------ [2002-10-19 14:41:24] [EMAIL PROTECTED] Okay, I can get it to work with TC 4.1.12, JDK 1.4.1_01 and PHP 4.2.3 only if I copy the php.so into the JDK's jre/lib/i386 directory. Seems like I'm just missing some important configuration info, but hey, it works. ------------------------------------------------------------------------ [2002-10-19 14:28:10] [EMAIL PROTECTED] I have the same problem using PHP 4.2.3 running as servlet under Tomcat 4.1.12 and JDK 1.4.1_01. The operating system is RedHat linux version 8.0. I really cannot fall back to the older version of PHP for security reasons. I made the changes mentioned to the properties files in the jar phpsrvlt.jar and rebuilt. I now get can not find 'libphp4' in the java.library.path. I have LD_LIBRARY_PATH pointing to the directory where 'libphp4.so' is located. I've even tried a number of different combinations, like renaming the .so, changing this properties files to the actual .so (including the ".so"), putting the .so in the tomcat library dir next to phpsrvlt.jar and it still doesn't work. I have tried adding the JDK's runtime .so directory to ld.so.conf and rebuilt PHP. I have tried specifiing the FQ paths of the jdk and tomcat directory and rebuilt. No go. ------------------------------------------------------------------------ [2002-10-05 15:27:05] [EMAIL PROTECTED] I finally found a working solution. I had to use PHP 4.0.6. I configured it as such "./configure --with-java --with-servlet". I moved the phpsrvlt.jar and libphp4.so created to the "TOMCAT_HOME/common/lib" directory of Tomcat. I put the "TOMCAT_HOME/common/lib" directory in the LD_LIBRARY_PATH. There is no need to alter the php.ini file. Works like a charm. Hope this help. Ivan ------------------------------------------------------------------------ [2002-09-30 12:07:48] [EMAIL PROTECTED] I have the same problem using PHP 4.2.3 running as servlet under Tomcat 4.1.10. The operating system is SuSE linux version 8.0. I made the changes mentioned to the properties files in the jar phpsrvlt.jar and rebuilt. I now get can not find 'libphp4' in the java.library.path. I have LD_LIBRARY_PATH pointing to the directory where 'libphp4.so' is located. Can anyone who fixed this problem submit the exact statements they used and where used to correct the library not found problem. Many Thanks! Ivan ------------------------------------------------------------------------ [2002-05-15 17:52:06] [EMAIL PROTECTED] Yeah I got past this error a long time ago, but then the whole thing just crashes after a couple page loads so I gave up on it ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16402 -- Edit this bug report at http://bugs.php.net/?id=16402&edit=1