This is the setup I used.
1) download the PHP-Win32 binary installation from
2) download the PHP-Win32 ZIP package that contains all dll’s , extensions, APIs and stuff from
3) Install PHP binary to c:\PHP
4) unzip the ZIP package to c:\PHP (you should see more subdirectories now)
4a) add the following lines to your Apache httpd.conf file:
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
The c:/php/sapi/php4apache2.dll was contained in the PHP Win32 ZIP file that you extracted in step 2
5) open php.ini in C:\WINDOWS
6) in php.ini locate the extension path and change the line extension_dir = “./” to
extension_dir = "C:\PHP\extensions"
7) in php.ini locate the line ;extension=php_domxml.dll and remove the ; sign
8) copy iconv.dll from c:\php\dlls to c:\windows\system32
9) download from
10) copy the libxml2.dll from to c:\windows\system32
11) The php_domxml.dll should already exist in your c:\php\extensions directory (was also contained in PHP Win-32 ZIP file in step 2)
12) stop and restart your Apache / IIS

Could it be that the domxml file I downloaded in not good?Is there any other link to download this domxml?


Arsenal are the best!

Please refer to my reply here