安装/配置
在线手册:中文  英文

安装

此扩展被认为已无人维护及已消亡。然而,此扩展的源代码还可在 PECL SVN 找到: » http://svn.php.net/viewvc/pecl/java.

此扩展已被移至 » PECL 资源库且不再与 PHP 捆绑。5.0.0

Note: PHP 4 specific notes

在 PHP 4 中,此 PECL 扩展源代码可在 PHP 源代码的 ext/ 目录下或上面的 PECL链接中找到。 In order to use these functions you must compile PHP with Java support by using the --with-java[=DIR] where DIR points to the base install directory of your JDK. This extension can only be built as a shared extension. Additional build instructions can be found in php-src/ext/java/README.

Windows users will enable php_java.dll inside of php.ini in order to use these functions. 在 PHP 4 中,此 DLL 位于 PHP Windows 二进制下载中的 extensions/ 目录。

In order to enable this module on a Windows environment with PHP <= 4.0.6, you must make jvm.dll available to your systems PATH. No additional DLL is needed for PHP versions > 4.0.6.


安装/配置
在线手册:中文  英文

用户评论:

arnold at adaniels dot nl (2009-07-22 10:16:56)

This extension doesn't seem to exist for PHP5.
If you need Java integration in PHP 5, there is the Java bridge of Zend Server (http://www.zend.com/en/products/server-ce/) and PJB (http://php-java-bridge.sourceforge.net/pjb/).

易百教程