Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/05/2006, 19:40
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 3 meses
Puntos: 129
No, .. En PHP se dice muchas veces (en general) que tal o cual soporte es soportado dentro del "core" de PHP .. o dicho de otra forma que algunas funcionalidades PHP integra "librerías" (caso de Mysql por ejemplo para PHP 4.x e inferiores). Es decir, que no se necesita "extensión" para que tal funcionalidad; funcione (valga la rebundancia).

Lo mejor en estos casos no es "suponer" nada .. sino acudir a la ducumentacón oficial al respecto:

www.php.net/java

Si te fijas .. la própia documentación hace comentarios al respecto entre PHP séries 4.x y 5.x .. también es bueno ver los comentarios de los usuarios como este:

Cita:
m mokhtar at gmail dot com
30-Oct-2005 04:03
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.p...p-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!!
Un saludo,
__________________
Por motivos personales ya no puedo estar con Uds. Fue grato haber compartido todos estos años. Igualmente los seguiré leyendo.