Symfony - “PHP Fatal error: Class ‘DomDocument’ not found” problem

Just stumbled across this error on my first step to setting up my Symfony environment on a CentOS 4.3 system. I’ve decided to blog about it so that google can index it and hopefully help somebody else.

PHP Fatal error: Class 'DomDocument' not found in /usr/share/pear/symfony/vendo
r/propel-generator/classes/propel/phing/AbstractPropelDataMo delTask.php on line
406

The solution? Make sure you have php-xml installed. I didn’t and installing it fixed it.


6 Responses to “Symfony - “PHP Fatal error: Class ‘DomDocument’ not found” problem”

Leave a Reply