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.
相关文章