domdocument::domdocument() expects at least 1 parameter解决办法 | 影の域

影の域

关注web前端,追逐html5脚步,体会code人生

domdocument::domdocument() expects at least 1 parameter解决办法

| 6,171 点击

问题的解决方法:http://bugs.php.net/bug.php?id=45538
php5 在 windows 下运行时,不需要在 php.ini 里声明 php_domxml.dll,加个分号注释起来就行了。

If you use PHP 5 in windows, you don’t need to declare php_domxml.dll in your php.ini file.
so u can give comment in the line php_domxml.dll in your php.ini file.
you only need to comment it out, but do not delete the php_domxml.dll file in the ext directory.