but on my Fedora 9 the XML package called DOM is disabled
the error on the script was:
PHP Fatal error: Class 'DOMDocument' not found
on phpinfo()
--disable-dom was one of the preprocessing compiling directives...
solution is easy and straightforward:
yum install php-xml