note 58293 added to ref.java

From: Date: Sun, 30 Oct 2005 19:03:55 +0000
Subject: note 58293 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-97839@lists.php.net to get a copy of this message
Getting PHP JavaBridge to work with PHP5 on windows server: ==================================== 1- Install Java J2EE 1.5 + JDK 1.4 (which includes application server/deploy tool/etc...) 2- download pecl-5.0.5-Win32.zip and php-java-bridge_2.0.8.zip, which will include extra dll(s) - unpack pecl pkg to your extensions folder, in PHP5 its ext. - unpack java-Bridge to root php folder, in my case its simply C:\PHP Note: the java-Bridge inculdes new versions of certain files like php_java.dll so, it would be wise to rename your old files that came with PECL pkg for example file_old, to rollback at anytime. In order to deploy/test Java-Bridge .war onto your java application server follow these steps http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/ INSTALL.WINDOWS?view=markup Note: move JavaBridge.jar to your extensions folder. and in test.php file that came with Java-Brdige package change line java_require("test/arrayToString.jar"); to java_require("tests.php4/arrayToString.jar"); Add the following to your php.ini file and restart server:- java.classpath = "location of JavaBridge.jar file...i.e. to your PHP extensions folder\ JavaBridge.jar,also any other extra java files that you'll be instanciating using your php script" java.java_home = "location of jdk\bin" java.libpath = "location of php_java.dll file...i.e. also to your PHP extensions folder" happy integration Cheers!! ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58293 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58293&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58293&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#97839) next »