Joomla 中未找到“DOMDocument"类 [英] Class 'DOMDocument' not found in Joomla

查看:23
本文介绍了Joomla 中未找到“DOMDocument"类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Joomla 站点出现找不到DOMDocument"类 错误.

My Joomla site got Class 'DOMDocument' not found error.

我尝试通过 sudo apt-get install php7.0-xml 安装 dom 并重新启动我的 apache.

I tried installing dom by sudo apt-get install php7.0-xml and restarted my apache.

已经在我的 php.ini 文件中添加了 'extension=dom.so' 并重新启动了 apache.

Already add 'extension=dom.so' in my php.ini file and restarted apache.

仍然没有 DOM 部分出现在我的 info.php 页面中.

Still, no DOM section appear in my info.php page.

我用过Ubuntu 14.04.5 LTSApache/2.4.20PHP 7.0.8-4+deb.sury.org~trusty+1 (cli) ( NTS )

I used Ubuntu 14.04.5 LTS Apache/2.4.20 PHP 7.0.8-4+deb.sury.org~trusty+1 (cli) ( NTS )

现在,我不知道去哪里检查了.请帮忙.谢谢

Now, I have no idea where to check anymore. Please help. Thank you

推荐答案

最后,我通过 sudo apt-get dist-upgrade 更新了我的 apache 和机器,现在一切正常.

Finally, I updated my apache and machine by sudo apt-get dist-upgrade and everything works fine now.

这篇关于Joomla 中未找到“DOMDocument"类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆