PHP Fatal error: Class ‘DOMDocument’ not found

When setting up applications such as Magento you may come across the error message “PHP Fatal error: Class ‘DOMDocument’ not found …” in your apache server log files

Reason for the error is missing log files. Issue the commands below to fix the issue

$ yum -y install php-xml php-devel

$ service httpd reload

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Written by kurinchilamp


Website: http://

Leave a Reply

Your email address will not be published. Required fields are marked *

Kurinchi Calendar
July 2014
M T W T F S S
« Apr   Aug »
 123456
78910111213
14151617181920
21222324252627
28293031  
Read previous post:
Mysql: Another MySQL daemon already running with the same unix socket.

After VPS reboot, you may encounter this issue and the fix is simple. Follow these stops to prevent this error....

Close