我的 Joomla 站点出现 Class 'DOMDocument' not found
错误。
我尝试通过 sudo apt-get install php7.0-xml
安装 dom 并重新启动我的 apache。
已在我的 php.ini 文件中添加“extension=dom.so”并重新启动 apache。
仍然没有 DOM 部分出现在我的 info.php 页面中。
我用过 Ubuntu 14.04.5 长期支持版 Apache /2.4.20 PHP 7.0.8-4+deb.sury.org~trusty+1 (cli) (NTS)
现在,我不知道去哪里检查了。请帮忙。谢谢
最佳答案
最后,我通过 sudo apt-get dist-upgrade
更新了我的 apache 和机器,现在一切正常。
关于php - 在 Joomla 中找不到类 'DOMDocument',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46398861/