|
From: <php...@li...> - 2006-11-28 19:03:40
|
I have installed:
Apache HTTP Server 2.0.59
PHP 5.2.0
JDK 1.5.0_09
and trying to install PHP-JAVA bridge v3.1.8 - with no success :(
Here is exactly what I did (what I think should make the Bridge work):
1) Extracted the JavaBridge archive, and then extracted JavaBridge.war.
2) Copied WEB-INF/lib to my PHP extensions directory (e.g. c:\php5\ext) and
then copied WEB-INF/cgi/java-x86-windows.dll to my PHP extensions
directory.
3) Renamed the dll to php_java.dll
4) Added the following lines to php.ini :
extension_dir = "C:/php5/ext"
extension=php_java.dll
[java]
java.java = "C:/Program Files/Java/jdk1.5.0_09/jre/bin/javaw"
java.java_home = "C:/Program Files/Java/jdk1.5.0_09"
java.log_level = 2
java.log_file = "C:/php5/log/java-bridge.log"
5) Then, I restarted Apache, and executed a php-info file from my
web-servable directory ( phpinfo();).
In the page, I can not see the Java table (no Java table at all). When I
tried to run some java
classes from php, I got nothing. (There is an error logged in apache's
error-log, saying that the
PHP was unable to load/find specified module [I dont remember the exact
form of the error-log, I am
not sitting at the concerned machine]).
Can someone help me please? Im running desperate now... :((
Thank you.
John
|