How to install JasperPHP in Ubuntu

  1. Install tomcat
    $ sudo apt-get install tomcat7
    

    Once we installed tomcat we can go to http://localhost:8080 and we have to see this:

    tomcat

  2. Download JavaBridge
    Go to http://php-java-bridge.sourceforge.net/pjb/download.php and download the JavaBridge.war file, this war file is in a zip that it’s called php-java-bridge_6.2.1_documentation.zip to deploy it in Tomcat.
  3. Deploy JavaBridge.war
    Copy the JavaBridge.war file to /var/lib/tomcat7/webapps

    $ sudo cp JavaBridge.war /var/lib/tomcat7/webapps/
    

    Once this is deployed you will see a new Directory in /var/lib/tomcat7/webapps/:
    JavaBridgeDirectory
    Then when you go to http://localhost:8080/JavaBridge you will see the following tests:
    JavaBridgeTest

  4. Modify your php.ini
    allow_url_include
    If you do not have it, just add it.

Leave a Reply

Su dirección de correo no se hará público. Los campos requeridos están marcados *

es_PEES