I want to integrate php4.4 with apache2.0, mysql 5.0, and java 1.3.1.
i compiled php4.4 with the following options,
./configure --prefix=/var/local/php4.4 --with-apxs2=/var/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-java=/var/local/j2sdk1.3.1 --enable-ftp --with-mysql-sock=/tmp/mysql.sock --enable-gd --enable-mbstring
its compiled without any errors.
after this i did all modifications in php.ini which is needed for this ie. setting java path
[Java]
java.class.path = /usr/lib/php4/php_java.jar
java.home = /var/local/j2sdk1.3.1
java.library.path = /var/local/j2sdk1.3.1/jre/lib/i386
java.library = /var/local/j2sdk1.3.1/jre/lib/i386/libjava.so
extensions_dir = /var/local/j2sdk1.3.1/jre/lib/i386
extension = libphp_java.so
but when i run the testjava.php in browser,
it is showing the following error message
"Fatal error: Cannot instantiate non-existent class: java in /var/local/apache2/htdocs/testjava.php on line 5"
can anybody please help me in this issue.
thanks in advance.
Kumar. P