解决Class DOMDocument not found引用请注明出处: https://seonoco.com/blog/class-domdocument-not-found发布于 2016-07-06 分类 Linux 从GIT下了一个PHP小工具,shell执行的时候显示Class 'DOMDocument' not found Google之(这种东西千万不能百毒,坑太深) 解决办法: yum install php-xml 重启服务后在运行,OK了! 参考与扩展阅读 Fatal error: Class 'DOMDocument' not found Class 'DOMDocument' not found-- The End --