I am using PHP4.2.3, SUN SDK 1.4.2.02, Redhat 7.2
I can successfull do the configure, make and make install.
Also did the ldconfig and ldd libjava.so part.
When calling java from a PHP script, I get the following error:
Fatal error: Unable to load Java Library /usr/java/j2sdk1.4.0_02/jre/lib/i386/libjava.so, error: libjvm.so: cannot open shared object file: No such file or directory in <file> on line <number>
libjvm.so is in /usr/java/j2sdk1.4.0_02/jre/lib/i386/server. ldd config picks it up.
Any Ideas?
Wimpie