fix for servlet extension make failure

From: Date: Fri, 03 Jan 2003 16:06:57 +0000
Subject: fix for servlet extension make failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-93090@lists.php.net to get a copy of this message
ciao, this is my first post to the list, so please excuse me if I'm wrong.... I'm tryng to use the servlet extension, but it seems to be broken in 4.3 and last 4.4 snapshots (in php-4.2.3 build correctly but get the same problem). My dev system is based on: Redhat8/sun jdk 1.4.1/tomcat 4.1.18 I cannot get it compile, but fixed this looking to php4.2.3 :-)) I attached the patch, that make it compile. After fixing the make configure/make failure, I get tomcat execute php files !! I see phpinfo data in the example script, I get echo command executed, but it crash at the end of php function calls, whith this error: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4DECD1A6 Function=zend_hash_index_update_or_next_insert+0x3A Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/libphp4.so Current Java thread: at net.php.reflect.setResultFromObject(Native Method) at net.php.reflect.setResult(reflect.java:105) at net.php.servlet.readCookies(servlet.java:92) at net.php.servlet.send(Native Method) at net.php.servlet.service(servlet.java:188) at net.php.servlet.service(servlet.java:212) I do not know enought php source to fix this, can you suggest where to start ? Can u check if zend_hash_index_update_or_next_insert in ext/java/java.c is used correctly ? thanks in advance, Giuseppe -- ------------------------------------------------------- Giuseppe Tanzilli g.tanzilli@gruppocsf.com CSF Sistemi srl phone ++39 0775 7771 Via del Ciavattino Anagni FR Italy

« previous php.dev (#93090) next »