From: <php...@li...> - 2009-02-19 15:40:52
|
Hi all, I presume that the php-java-bridge can be installed in a machine where apache is running with php installed. Also jdk needs to be installed. Now I am trying this out on a windows machine and all the above are present. Apache *(ver. 2.2.6) *& PHP*(ver. 5.2.5)* are available through WAMP server. JDK*1.6.0_07* installed. Now to the important part of installing the bridge. Downloaded & extracted 'php-java-bridge_5.4.3.2_j2ee.zip'. My belief is that two files are enough for the bridge to work. They are - * php-java-bridge_5.4.3.2_j2ee\JAVA.STANDALONE\JavaBridge.jar php-java-bridge_5.4.3.2_j2ee\JAVA.STANDALONE\java\Java.inc* Java.inc, I believe, is the actual bridge between PHP and Java. * JavaBridge.jar*, I* *presume helps* *Java.inc*.* Now for PHP to locate the JavaBridge.jar. This needs to register as an extension and hence we place this in the PHP extension directory. To register it as a module we change the php.ini file. Am I correct in the above steps? If I am, I am still not sure what to set in the php.ini. I donot have a ".dll" file in the package to install a module in PHP :(. Please guide me. Thanks, Srini |