note 18768 added to ref.java
| From: | thomas dot may at x9media dot com | Date: | Mon, 04 Feb 2002 22:13:35 +0000 |
| Subject: | note 18768 added to ref.java | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26247@lists.php.net to get a copy of this message | ||
Hi there,
i have the same problems finding the correct php.ini section for my system.
my configuration is:
freebsd 4.4, mysql 3.23.47, mod_php4.1.1, linux-jdk1.3.1, apache 1.3.22_mod_ssl, all ports
installation
'./configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--without-gd' '--without-mysql' '--with-zlib'
'--with-java=/usr/local/linux-jdk1.3.1' '--with-mysql=/usr/local'
'--prefix=/usr/local' 'i386--freebsd4.5'
i got the following error:
Fatal error: Unable to load Java Library /usr/local/linux-jdk1.3.1/jre/lib/i386/hotspot/libjvm.so,
error: Shared object "libnsl.so.1" not found in
/usr/local/www/data.default/phpjavatest3.php on line 2
php.ini
[java]
java.class.path = /usr/local/lib/php/php_java.jar
java.home = /usr/local/linux-jdk1.3.1
java.library = /usr/local/linux-jdk1.3.1/jre/lib/i386/hotspot/libjvm.so
extension_dir = /usr/local/lib/php/20010901
extension = libphp_java.so
Have anyone an idea ?
thomas
--
http://www.php.net/manual/en/ref.java.php
http://master.php.net/manage/user-notes.php?action=edit+18768
http://master.php.net/manage/user-notes.php?action=delete+18768
http://master.php.net/manage/user-notes.php?action=reject+18768