In case you encounter an error similar to this:
PHP Fatal error: Class 'DOMDocument' not found in /home/randell/lib/ZendFramework-1.10.8/library/Zend/Tool/Project/Profile/FileParser/Xml.php on line 82
wherein line 82 contains
$doc = new DOMDocument('1.0');
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