Hello all
I am developing a site for my company.
We r using PHP3 for server side scripting.
Now my problem is that when i try to run
printf("%s",system("java"));
on Page nothing is displayed.And in /var/log/http/error file i got following error
/usr/jdk1.2.2/bin/i386/green_threads/java: error in loading shared libraries: libhpi.so: cannot open shared object file: No such file or directory
i have libhpi.so file at following location on my machine
/usr/jdk1.2.2/jre/lib/i386/green_threads/libhpi.so
/usr/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so
/usr/jre1.2/lib/i386/green_threads/libhpi.so
/usr/jre1.2/lib/i386/native_threads/libhpi.so
So can anybody help me out here to where i have to put libhpi.so file so php can find out it.
i tryed it to put in following location
/usr/lib/apache/bin/libhpi.so
But still give the same error
So , please help me to sort out this problem
Thanks
Kalpesh