PHP Fatal error: Class 'DOMDocument' not found

简介: PHP Fatal error:  Class 'DOMDocument' not found 给PHP添加 xml模块: yum install php-xml   如果是PHP5,则用 yum install php55w-xml

 PHP Fatal error:  Class 'DOMDocument' not found

给PHP添加 xml模块:

yum install php-xml

 

如果是PHP5,则用

yum install php55w-xml

相关文章
|
应用服务中间件 PHP nginx
Elasticsearch-PHP库使用报错:No alive nodes found in your cluster[64] in ../Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php
Hyperf Elasticsearch-PHP库使用报错:No alive nodes found in your cluster[64] in ../Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php
316 0
Elasticsearch-PHP库使用报错:No alive nodes found in your cluster[64] in ../Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php
|
缓存 PHP 开发工具
Composer 更新时报错:PHP Fatal error: composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
Composer 更新时报错:PHP Fatal error: composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
180 0
Composer 更新时报错:PHP Fatal error:  composerRequireac6b4…(): Failed opening required ‘…/src/helpers.php
|
PHP
PHP 如何捕获 Catchable fatal error?
PHP 如何捕获 Catchable fatal error?
69 0
|
PHP Windows
composer PHP Fatal error: Allowed memory size of 报错解决
composer PHP Fatal error: Allowed memory size of 报错解决
99 0
|
Shell PHP
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法