From:             birdfly2000 at 163 dot com
Operating system: redhat 7.1
PHP version:      4.3.3
PHP Bug Type:     Java related
Bug description:  #15702,#19327 still  exist in php 4.3.3 ?

Description:
------------
Hello,
   I have a www server, it's configuration is redhat 7.1,apache 1.3.27,and
jdk 1.3.1_06.
Now, i want to compile  php4.1.2 with  jdk1.3.1_06  support and get some
problems as follow link says.
http://bugs.php.net/bug.php?id=19327
http://bugs.php.net/bug.php?id=15702

Fatal error: java.lang.UnsatisfiedLinkError: no php_java in
java.library.path in 
 /www/www.mydomain.com/jver.php on line 4

i make the symbolic link 
$extensiondir$/java.so to $extensiondir$/libphp_java.so
and restart the apache /apache/bin/apachect restart ,but the error still
exist.

In this page,   http://www.php.net/ChangeLog-4.php#4.3.3
it says bug #15702 fixed ,so i upgrade php4.1.2  to php 4.3.3 . but the
same error still exist.

LD_LIBRARY_PATH=LD_LIBRARY_PATH=/usr/oracle/lib:/lib:/usr/lib:/usr/local/lib:/usr/local/apache/libexec:/usr/java/jdk1.3.1_06/jre/lib/i38
6/native_threads:/usr/java/jdk1.3.1_06/jre/lib/i386:/usr/java/jdk1.3.1_06/jre/lib/i386/hotspot

The content of /etc/ld.so.conf file 
/usr/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-2.3.0/lib
/opt/sybase-11.9.2/lib
/usr/java/jdk1.3.1_06/jre/lib/i386/hotspot
/usr/java/jdk1.3.1_06/jre/lib/i386/native_threads
/usr/java/jdk1.3.1_06/jre/lib/i386

My php.ini content about java:
[Java]
java.class.path =
/usr/local/src/php-3.3.3/ext/java/php_java.jar:/usr/local/jakarta-tomcat-4.1.24/server/lib/ovjavasvr.jar
java.home = /usr/java/jdk1.3.1_06
java.library =  /usr/java/jdk1.3.1_06/jre/lib/i386/hotspot/libjvm.so
extension_dir = /usr/local/src/php-4.3.3/modules
extension = libphp_java.so

[Java]
java.class.path =
/usr/local/src/php-4.3.3/ext/java/php_java.jar:/usr/local/jakarta-tomcat-4.1.24/server/lib/ovjavasvr.jar

java.home = /usr/java/jdk1.3.1_06
java.library.path = /usr/java/jdk1.3.1_06/jre/lib/i386
java.library = /usr/java/jdk1.3.1_06/jre/lib/i386/libjava.so
extension_dir = /usr/local/src/php-4.3.3/modules
extension = libphp_java.so


Where shall i do ? Is is a  new bug ?
Thanks someone to reply it .


-- 
Edit bug report at http://bugs.php.net/?id=25412&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25412&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25412&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25412&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25412&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25412&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25412&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25412&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25412&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25412&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25412&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25412&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25412&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25412&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25412&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25412&r=gnused

Reply via email to