I've managed to compile, install, and run the CGI version of PHP4.0.4PL1 with Java
(Blackdown) support without any problems.
However, the APXS version has me stumped.
Compilation and installation went fine. I even removed /usr/local/lib/ between the CGI
and APXS installs (and verified the correct
version of libphp_java.so).
When I try accessing a php page with a Java call, I get the following error:
Unable to locate CreateJavaVM function in ...
Following is the latest rendition of my php.ini file (though lots of other
combinations were also attempted):
[Java]
extension_dir=/usr/local/lib
extension=libphp_java.so
java.class.path=/usr/local/lib/php_java.jar
java.library.path=/usr/local/lib:/usr/local/java/jdk1.2.2/jre/lib/i386:/usr/local/
java/jdk1.2.2/lib/i386/classic:/usr/local/java/jdk1.2.2/jre/lib/i386/native_threads
java.library = libphp_java.so
I copied /usr/local/lib/extension/*/libphp_java.so to /usr/local/lib/ for easier
management.
If I don't include java.library.path and java.library I'll get the following error:
Unable to load Java Library /usr/local/java/jdk1.2.2/jre/lib/i386/libjava.so,
error: libhpi.so
I've also 'ldd libphp_java.so' and no missing libs showed up.
If possible a direct reply to this address (in addition to the ML) is appreciated.
Thx in advance for any help!
--
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]