php-install Digest 8 Nov 2002 12:38:53 -0000 Issue 1109

Topics (messages 9060 through 9061):

test
        9060 by: Gareth Thomas

PHP-4.2.3 AND JAVA
        9061 by: Fincom

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
test


--- End Message ---
--- Begin 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


--- End Message ---

Reply via email to