在Joomla中找不到"DOMDocument"类 [英] Class 'DOMDocument' not found in Joomla
问题描述
我的Joomla网站出现Class 'DOMDocument' not found
错误.
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.
仍然,在我的info.php页面中没有DOM部分.
Still, no DOM section appear in my info.php page.
我用过 Ubuntu 14.04.5 LTS 阿帕奇/2.4.20 PHP 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屋!