by prettyscripts on 2009-02-19 12:04:34 • Leave a comment »
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