Hi everybody,
i'm trying to use java servlets in php.
but every time i try to instantiate an java-object i get an segmentation fault in the apache error log.
my setup:
suse linux 7
apache 1.3.12
php 4.04
sun jdk 1.2.2
configure:
Apache:
LDFLAGS=-lpthread ./configure --prefix=/export/apache --enable-shared=max --enable-module=rewrite --enable-shared=rewrite
PHP:
./configure --with-mysql --with-apxs=/export/apache/bin/apxs --enable-trans-sid --with-config-file-path=/export/apache/conf --with-oci8 --with-java=/usr/java/jdk1.2.2/
i have set
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/jdk1.2.2/jre/lib/i386:/usr/java/jdk1.2.2/jre/lib/i386/server:/usr/java/jdk1.2.2/jre/lib/i386/native_threads
my php.ini:
[Java]
java.class.path=/usr/local/lib/php_java.jar
;java.library.path=/usr/java/jdk1.2.2/jre/lib/i386/native_threads
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214
extension=libphp_java.so
java.home = /usr/java/jdk1.2.2
any help would be greatly apreciated