PHP and Java integration PHPJavaBridge download PHPJavaBridgesourceforge. install netprojectsphp-java-bridge: install J2SE1.6 or later. install InstallPHP5.1.4 or later. unzip the downloaded php-java-bridge_5 PHP and Java integration PHP/Java Bridge
Download the PHP/Java Bridge http://sourceforge.net/projects/php-java-bridge/ for installation:
Install J2SE 1.6 or later.
Install PHP 5.1.4 or later.
Decompress the downloaded php-java-bridge_5.2.2_j2ee.zip.
# Run the following command to decompress the CD package:
...> Java-classpath JavaBridge. war TestInstallation
In the current folder, you can see a directory ext, which contains four. jar file. copy JavaBridge. jar php-script.jar to your J2SE ext Directory ({JAVA_HOME}/jre/lib/ext ).
Install PHP/Java Bridge with J2EE:
* Copy JavaBridge. war to the automatic deployment directory of J2EE.
* Rename the file to your Application name. wait until the deployment is complete. In this example, the Application name is appName. war.
* Test: http: // localhost: 8080/appName (click on test. php ).
Note: If you copy the war file to the document root directory on Apache or ISS.