我在Magento应用程序的页面上发现错误;当我访问它时,它总是显示此消息错误:
I've found an error on a page in my Magento application; it always show this message error when I visit it:
致命错误:在第95行的/home/.../lib/Zend/Feed/Abstract.php中找不到类'DOMDocument'
Fatal error: Class 'DOMDocument' not found in /home/.../lib/Zend/Feed/Abstract.php on line 95
能给我一个解决方案吗?我正在使用magento 1.4.1.1.
Can you give me a solution? I'm using magento 1.4.1.1.
推荐答案您需要安装 DOM 扩展名.您可以使用以下命令在Debian/Ubuntu上进行操作:
You need to install the DOM extension. You can do so on Debian / Ubuntu using:
sudo apt-get install php-dom在Centos/Fedora/Red Hat上:
And on Centos / Fedora / Red Hat:
yum install php-xml如果您在PHP 5和PHP 5.3软件包之间遇到冲突,则可以尝试查看php53-xml软件包是否存在.
If you get conflicts between PHP 5 and PHP 5.3 packages, you could try to see if the php53-xml package exists instead.
更多推荐
找不到类"DOMDocument"
发布评论