note 39094 added to ref.java

From: Date: Fri, 16 Jan 2004 21:16:44 +0000
Subject: note 39094 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-63702@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39094 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39094&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39094&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63702) next »