PHP Error - Unable to load DOMXML on Windows/IIS

January 7th, 2008

If you’re installing or using PHP on Windows/IIS server it is possible that you receive the following error: “Unknown(): Unable to load dynamic library ‘…/php/extensions/php_domxml.dll’ - The specified module could not be found.”

To resolve this problem, please make sure you have following settings in php.ini file:

extension_dir = c:/php/extensions
extension = php_domxml.dll

Your extensions do not necessarily need to be located there, but the dll file should be in the folder specified in your php.ini file.

Your should also include php/dlls folder your PATH variable.

Note: php_domxml.dll uses iconv.dll file, therefore iconv.dll must be accesible thru the PATH variable. One way of doing is to copy iconv.dll in your /windows/system32 folder.

No Comments

No comments yet.

Comments RSS TrackBack Identifier URI

Leave a comment

  • Syndicate

    • Subscribe in NewsGator Online
    • Add to Google
    • Subscribe in Bloglines
    • Subscribe in FeedLounge
    • Add to netvibes
    • Add to My AOL
    • Subscribe in Rojo