Undocumented symfony requirement, DomDocument error

php symfony propel:build-model

PHP Fatal error:  Class 'DomDocument' not found in /var/www/html/sf_sandbox/lib/                                    symfony/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/                                    AbstractPropelDataModelTask.php on line 406
[root@gorilla sf_sandbox]# yum -y install php-xml
Setting up Install Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
update                    100% |=========================|  951 B    00:00
rpmforge                  100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.1.6-3.el4s1.10. 100% |=========================|  17 kB    00:00
---> Package php-xml.i386 0:5.1.6-3.el4s1.10 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 php-xml                 i386       5.1.6-3.el4s1.10  centosplus         85 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 85 k
Downloading Packages:
(1/1): php-xml-5.1.6-3.el 100% |=========================|  85 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: php-xml                      ######################### [1/1]

Installed: php-xml.i386 0:5.1.6-3.el4s1.10
Complete!
[root@gorilla sf_sandbox]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

Leave a Reply

Your email address will not be published. Required fields are marked *