Fraser MacKenzie wrote:
> Here is my configuration now:
>
> [Java]
> java.class.path=/home/local/src/php-4.0.4/ext/java/php_java.jar
> java.home=/home/local/java/jdk1.2.2
>
>java.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386:/home/local/java/jdk1.2.2/jre/lib/i386/classic:/home/local/java/jdk1.2.2/jre/lib/i386/green_threads
Not sure if green_threads are supported by PHP/Java. Try replacing the green_threads
specification with native_threads (if your JDK has this subdirectory). If I recall
correctly, libhpi.so is in native_threads.
Again, I'd suggest setting LD_LIBRARY_PATH temporarily to what you have up in
java.library.path (after replacing green_threads with native_threads) and then run ldd
libjava.so from the command line to see if
everything is found. BTW, if your JDK doesn't have a native_threads subdirectory then
you might need to use a different JDK for PHP/Java to work correctly. Did you ever
mention what JDK you were using?
> java.library=/home/local/java/jdk1.2.2/jre/lib/i386/libjava.so
Simply use java.library=libjava.so (let it do the search). However, the above might
work as is.
Alex
--
PHP General 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]