Re: php with java core dump
| From: | Alex Akilov | Date: | Fri, 17 Nov 2000 16:10:21 +0000 |
| Subject: | Re: php with java core dump | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-820@lists.php.net to get a copy of this message | ||
Jim Arnott wrote:
> Anyone seen this :
>
> I'm using:
>
> jdk1.2.2
> php-4.0.3pl1
> gcc version 2.8.1
> Solaris 2.6 Ultra-sparc
>
> I configured PHP:
> configure -with-java=/path/to/java
>
> [Java]
> java.class.path = /export/bmet/src/php-4.0.3pl1/ext/java/php_java.jar
> java.home = /export/bmet/jdk1.2.2
> java.library = /export/bmet/jdk1.2.2/jre/lib/sparc/classic/libjvm.so
> java.library.path = ./
Check out the ext/java/readme in the PHP distribution and make
sure that java.library.path contains all the directories that contain
the necessary jvm shared objects (i.e. run ldd libjvm.so). I'm not
sure if the green threads are supported so you might need to point
the library path to the native threads subdirectory of the JRE.
> extension=./modules/libphp_java.so
I'm not sure if this format is supported in php.ini. I've always used
a separate extension_dir and extension.
Alex