symfony: error at command line

by prettyscripts on 2009-02-19 12:04:34 • Leave a comment »

freeframeworksymfony

you get this error when running ‘php symphony ….’:

PHP Fatal error: Class ‘DomDocument’ not found in /path/to/symfony/…/AbstractPropelDataModelTask.php on line 428

this is similar to a mediawiki installation error.

the server doesn’t have php-xml component. on fedora core 10, run the following command as root:

$ yum install php-xml
$ service httpd restart

or ask your host provider.

i’m yet to find an alternative solution if you don’t have root access or if your host provider won’t do this for you.

Tags: symfony

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)