Installing java extension in PHP
Posted: Wed Sep 15, 2004 2:38 am
I'm trying to enable JAVA extension in PHP 5.0.1 on Apache 1.3.31 on WIN XP and JDK 1.2.2 installed
I set up php.ini file with these settings:
[java]
java.class.path=c:/wamp/php/php_java.jar
java.home = C:/jdk1_2_2/bin
java.library = C:/jdk1_2_2/jre/bin/classic/jvm.dll
java.library.path = C:/wamp/php/ext
After restart of Apache, when I try to open simple example (from PHP help)
I get response from web server: Cannot find server or DNS Error.
If I open other PHP files, they are served normally.
So I wonder, where could be thje problem. Is it maybe in wrong version of PHP_JAVA.DLL file? Or somewhere else?
Thax for your ideas!!
Niko
I set up php.ini file with these settings:
[java]
java.class.path=c:/wamp/php/php_java.jar
java.home = C:/jdk1_2_2/bin
java.library = C:/jdk1_2_2/jre/bin/classic/jvm.dll
java.library.path = C:/wamp/php/ext
After restart of Apache, when I try to open simple example (from PHP help)
I get response from web server: Cannot find server or DNS Error.
If I open other PHP files, they are served normally.
So I wonder, where could be thje problem. Is it maybe in wrong version of PHP_JAVA.DLL file? Or somewhere else?
Thax for your ideas!!
Niko