PHP and Java integration PHP/JavaBridge

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.