PHP-4.2.3 AND JAVA
| From: | Fincom | Date: | Fri, 08 Nov 2002 12:41:56 +0000 |
| Subject: | PHP-4.2.3 AND JAVA | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9061@lists.php.net to get a copy of this message | ||
Hi,
I've try to install java extension for php.
I've compile the extension and put the java.so and php_java.jar in
/usr/lib/php/extensions
My OS is Linux Mandrake 9, and i've installed the j2sdk1.4.1
I've put the PATH for java and also upgrade the LD_LIBRARY_PATH
When i try to access a page example, i have this error :
<b>Fatal error</b>: Unable to load Java Library
/usr/java/java/jre/lib/i386/libjava.so, error: libverify.so: cannot open
shared object file: No such file or directory in
<b>/var/www/html/java.php</b> on line <b>3</b><br />
The config in my php.ini is :
java.class.path = /usr/lib/php/extensions/php_java.jar
java.home = /usr/java/java
java.library = /usr/java/java/jre/lib/i386/libjava.so
java.library.path =
/usr/lib/php/extensions:/usr/java/java/jre/lib/i386/server:/usr/java/java/jre/lib/i386
extension = java.so
Please Help .
Thanks