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.
August 31st, 2006 at 6:14 am
Thank you, VERY VERY much. Tight deadline, that helped more than you’ll ever know!
August 31st, 2006 at 8:16 am
Glad it helped you Steve… it was worth blogging afterall :)
September 6th, 2006 at 9:31 pm
Well, thanks for the advice. It would have helped, but for some reason I appear to have done something to MY server that is still displaying this error. PHPInfo shows lib-xml is enabled with version 2.6… :(
September 15th, 2006 at 4:03 am
Thanks a lot. This post helped a lot.
February 4th, 2008 at 8:49 pm
“I’ve decided to blog about it so that google can index it and hopefully help somebody else.”
it did :)
March 10th, 2008 at 5:30 am
Thanks - I was getting ready to compile Apache/MySql/PHP from source when I saw this post. You saved me a lot of time.