“PHP Fatal error: Class ‘DOMDocument’ not found”

it probably means that you tried to create a DOMDocument while your PHP installation doesn’t have support for manipulating XML Documents using the DOM tree, or performing XSL transformations on XML documents.

In Fedora, you can solve this by installing the XML module for PHP by executing the following command as root:

yum install php-xml

你可能感兴趣的:(“PHP Fatal error: Class ‘DOMDocument’ not found”)