Hi all.
I want to setup a server which support php+javabeans in RedHat Linux7.2.
My environment is: RedHat 7.2 + JDK1.3.1 + PHP 4.0.6
I found PHP 4.1.0 and PHP 4.1.1 have some problem in supporting java. They can't compile to produce a libphp_java.so file. But PHP 4.0.6 is OK!
But when I installed with a PHP 4.0.6 and tested with the jver.php, I got these error message:
Fatal error: java.lang.UnsatisfiedLinkError: no php_java in java.library.path in /www/servers/czlinux.com/jver.php on line 4
my php.ini settings is:
[Java]
java.class.path = /usr/local/etc/php4/ext/java/php_java.jar
java.home = /usr/local/jdk1.3.1_02
java.library.path = /usr/local/jdk1.3.1_02/jre/lib/i386:/usr/local/etc/php4/ext/java/
java.library = libjava.so
extension_dir = /usr/local/lib/php/20001222
extension = libphp_java.so
Who can help me? Thank you very much for any help.
Jonathan