note 39094 deleted from ref.java by aidan
| From: | aidan@php.net | Date: | Wed, 01 Sep 2004 00:08:17 +0000 |
| Subject: | note 39094 deleted from ref.java by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75799@lists.php.net to get a copy of this message | ||
Note Submitter: keith at zorka dot com
----
I can only get this far with getting java to work in PHP:
Fatal error: Unable to load Java Library /opt/sun-jdk-1.4.1.03/jre/lib/i386/libjava.so, error:
libverify.so: cannot open shared object file: No such file or directory in
/home/httpd/htdocs/java-test2.php on line 3
The references that mention, most simply state to add LD_LIBRARY_PATH to the apache startup script.
Done that, same result. LD_LIBRARY_PATH is also in the apache environment variables when you create
a phpinfo().
Here is the php.ini:
extension = java.so
extension_dir = /usr/lib/php/extensions/no-debug-non-zts-20020429
[Java]
java.class.path = /usr/lib/php/extensions/no-debug-non-zts-20020429/php_java.jar
java.home = /opt/sun-jdk-1.4.1.03
java.library.path = /usr/lib/php/extensions/no-debug-non-zts-20020429
java.library = /opt/sun-jdk-1.4.1.03/jre/lib/i386/libjava.so
Anyone have anything else I can try, please let me know.