Class #39;DOMDocument#39; not found in Joomla(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"类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Joomla 中未找到“DOMDocument"类
基础教程推荐
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
