Actually you're not completly correct. If you want to access Java from php
you'll have to start
the javabridge by either starting the javabridge.jar or by putting the war
file into a servlet container like
tomcat.
what works with your setup is accessing php from inside of java.
2009/2/19 <php...@li...>
> 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
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|