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
After VPS reboot, you may encounter this issue and the fix is simple. Follow these stops to prevent this error....