The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Building Java support for PHP

Discussion in 'General Discussion' started by meeven, Feb 4, 2008.

  1. meeven

    meeven Well-Known Member

    Joined:
    May 8, 2007
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    For a payment gateway, I need to build PHP with Java support. The integration manual says:

    I do have JDK 1.4.2 installed at /usr/local/. What is the easiest way to build PHP with java support? Use easyapache?

    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
     
    #1 meeven, Feb 4, 2008
    Last edited: Feb 4, 2008
  2. meeven

    meeven Well-Known Member

    Joined:
    May 8, 2007
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Sorry to bump...

    ...but, anyone?

    :confused:
     
Loading...

Share This Page