Installation Guides
Note that the PHP/Java Bridge cannot be installed, it is just an XML protocol. Do not search for a PHP extension, java.so or php_java.dll. These extensions are obsolete since PHP 5. Everything needed to communicate with a Java servlet engine is part of PHP 5.
Download the PHP/Java Bridge binary and extract it into a directory. -- The download section also contains a file "JavaBridgeTemplate.war", without any documentation, examples and test cases.
Installation
- Test your PHP installation with:
java -classpath JavaBridge.war TestInstallation. - Install Apache Tomcat (or any other servlet engine) as a Windows or Unix service and copy JavaBridge.war to Tomcat's autodeploy folder.
- Browse to http://localhost:8080/JavaBridge and run the PHP and JSP examples.
- Copy or symlink the created webapps/JavaBridge folder to the web server document root.
- Browse to http://yourHost.com/JavaBridge and run the PHP examples.