Monday, October 13, 2008

php and XML

I wanted to run some php scripts to parse and create XML docs,
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

No comments: