安装/配置
PHP Manual

安装

» PECL 扩展未与 PHP 捆绑。 安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装 章节中找到。另外的信息,如新的发行版本、下载、源文件、 Additional information such as new releases,维护人员信息及变更日志等,都在此处: » http://pecl.php.net/package/domxml.

在 PHP 4 中,此 PECL 扩展源代码可在 PHP 源代码的 ext/ 目录下或上面的 PECL 链接中找到。 This extension is only available if PHP was configured with --with-dom[=DIR] . Add --with-dom-xslt[=DIR] to include DOM XSLT support. DIR is the libxslt install directory. Add --with-dom-exslt[=DIR] to include DOM EXSLT support, where DIR is the libexslt install directory.

Windows users will enable php_domxml.dll inside of php.ini in order to use these functions. 在 PHP 4 中,此 DLL 位于 PHP Windows 二进制下载中的 extensions/ 目录。 PECL 扩展的 DLL 当前不可用。参见 在 Windows 上构建 章节。 Also, there is one additional DLL that must be made available to your system's PATH in order for this extension to work. In PHP 4 this is in the dlls/ directory. It's name: For PHP <= 4.2.0, it's libxml2.dll. For PHP >= 4.3.0, it's iconv.dll. And as of PHP 5.0.0, iconv is compiled into your Windows PHP binaries by default so no extra DLL is needed.


安装/配置
PHP Manual