安装/配置
PHP Manual

安装

此扩展被认为已无人维护及已消亡。然而,此扩展的源代码还可在 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.


安装/配置
PHP Manual