Stanton Schell wrote:

> Here it is:
>
> [Java]
> java.class.path=/home/stanton/apache/live2/conf/php_java.jar
> java.home=/usr/java/jdk1.3
> java.library.path=/home/stanton/apache/php-4.0.4pl1/modules
> java.library=libphp_java.so
> extension_dir=/home/stanton/apache/php-4.0.4pl1/modules
> extension=libphp_java.so

Your problem is the java.library specification.  It's supposed to specify the
name of the of the Java VM shared library (not the PHP/Java JVM wrapper which
is what you specified).  Try the following:

java.library=libjava.so

Also, depending on which jdk you're using you have to figure out which jdk
directories contain supporting shared libraries for libjava.so and add those
directories to your java.library.path.  Try running ldd libjava.so (in the jdk
subdirectory where libjava.so is located) to get an idea of which shared
libraries it depends on.  Note that if your JDK contains a hotspot
subdirectory and a classic subdirectory that you should normally choose
hotspot.  Likewise, given a choice between native_threads and green_threads,
you should choose native_threads.

Alex


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to