For a payment gateway, I need to build PHP with Java support. The integration manual says:
Update:
Okay, when I clicked on the 'More info' link next to Java in EasyApache, it took me to the following page:
http://www.php.net/manual/en/ref.java.php
Unfortunately, the page also warns that the php extension is unstable and may be given up in future php versions.
The java servlet version seems to be about Tomcat and that is the last thing I want on my server:
http://www.php.net/manual/en/ref.java.php#java.servlet
The comments on that page then point to a php-java bridge and recommend it highly:
http://php-java-bridge.sourceforge.net/pjb/
Would anyone here recommend that I use this bridge, given my original context as set out in the payment gateway integration doc that I quoted above?
Thanks in advance,
Venkat
I do have JDK 1.4.2 installed at /usr/local/. What is the easiest way to build PHP with java support? Use easyapache?"To include Java support in your PHP build you must add the option –with-
java[=DIR].
Where DIR points to the base install directory of your JDK.
2. You have to configure php with following command.
./configure --with-apxs2=/usr/local/apache2/bin/apxs –with-java[=Dir].
3. make
4. make install. "
Update:
Okay, when I clicked on the 'More info' link next to Java in EasyApache, it took me to the following page:
http://www.php.net/manual/en/ref.java.php
Unfortunately, the page also warns that the php extension is unstable and may be given up in future php versions.
The java servlet version seems to be about Tomcat and that is the last thing I want on my server:
http://www.php.net/manual/en/ref.java.php#java.servlet
The comments on that page then point to a php-java bridge and recommend it highly:
http://php-java-bridge.sourceforge.net/pjb/
Would anyone here recommend that I use this bridge, given my original context as set out in the payment gateway integration doc that I quoted above?
Thanks in advance,
Venkat
Last edited: