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"类


基础教程推荐
- Libpuzzle 索引数百万张图片? 2022-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- 在多维数组中查找最大值 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01