Re: PHP & JAVA Install

From: Date: Wed, 07 Feb 2001 16:19:43 +0000
Subject: Re: PHP & JAVA Install
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-1978@lists.php.net to get a copy of this message
> Ok, first things first: > > 1. Thanks for helping out. > My pleasure. > 2. Should this reply also be going to the list - it did not seem as though > yours came through it...but perhaps I am misreading my email header? If it > should, I will resend it. > It should. I posted this on the list as well (and copied you). > 3. Just fyi, I am using Sun's JDK 1.3 > That's useful to know. Thanks. > 4. When I make the change, I do get an error indicating a needed library > path change. However, I am not sure about the syntax for adding an > additional path to that value in php.ini - is it the same as setting > environment variables, with a ":" separating each path? > Right. If the entry is a path specification, just separate the directory entries with a ":". > 5. The response from ldd libjava.so was: > libjvm.so => not found > libverify.so => not found > libnsl.so.1 => /lib/libnsl.so.1 (0x40033000) > libdl.so.2 => /lib/dl.so.2 (0x4004a000) > libc.so.6 => /lib/libc.so.6 (0x4004e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > > 6. Finally, that first shared object is in both the classic and > hotspot > surdirs (albeit they are different files), so do I add the hotspot > subdir to > the java.library.path value in php.ini as well? Your java.library.path specification should be something like: java.library.path=/home/stanton/apache/php-4.0.4pl1/modules:/usr/java/jdk1.3/jre/lib/i386:/usr/java/jdk1.3/jre/lib/i386/hotspot:/usr/java/jdk1.3/jre/lib/i386/native_threads That is, if you're running on an i86 platform. Alex

« previous php.install (#1978) next »