Cakephp Class 'DOMDocument' not found

Milos picture Milos · May 22, 2012 · Viewed 7.6k times · Source

I tried to implement rss feed following this simple explanation from cake book http://book.cakephp.org/2.0/en/core-libraries/helpers/rss.html I got this error "Class 'DOMDocument' not found in lib/Cake/Utility/Xml.php on line 99"

Any clue?

Answer

Toote picture Toote · May 22, 2012

Install php-xml package that provides the needed files to use the DOMDocument class