解决windows下php无法装入domxml.dll模块的问题

无法装入php_domxml.dll解决办法:

版本小于4.2.0(包括4.2.0)的用户将libxml2.dll复制到windows下的system32目录下
版本高于4.3.0(包括4.3.0)的用户将iconv.dll复制到windows下的system32目录下
(以上两个文件可以在php的dlls目录下找到)

无法装入php_xslt.dll解决办法:

版本小于4.2.0(包括4.2.0)的用户将sablot.dll和expat.dll复制到windows下的system32目录下
版本高于4.2.1(包括4.2.1)的用户将sablot.dll和expat.dll,iconv.dll复制到windows下的system32目录下
(以上文件可以在php的dlls目录下找到)

php手册中关于这两个问题的文档如下:

关于php_xslt.dll:
In order to enable this module on a Windows environment, you must copy several files from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). For PHP <= 4.2.0 copy sablot.dll and expat.dll to your SYSTEM32 folder. For PHP >= 4.2.1 copy sablot.dll, expat.dll and iconv.dll to your SYSTEM32 folder.

关于php_domxml.dll:
In order to enable this module on a Windows environment, you must copy one additional file from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your Windows machine (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). For PHP <= 4.2.0 copy libxml2.dll, for PHP >= 4.3.0 copy iconv.dll from the DLL folder to your SYSTEM32 folder.

你可能感兴趣的:(PHP,职场,休闲,domxml.dll)