Fedora 9 DOMDocument.

2008 Sept 27 at 00:32 » Tagged as :xml,

Since moving to Debian and back again to Fedora , didn't have an occaision to meddle with the DOMDocument class in PHP till today. That's when I found PHP generate a rather annoying error message:

PHP Fatal error: Class 'DOMDocument' not found in /tmp/domHTML.php on line 2

Hang on one second, I alreadyhave the PHP-XML rpm installed. How come I am getting this error? It turns out that the DOM API is provided not by the PHP-XML rpm but by the PHP-XMLRPC rpm (FedoraForum). That's a bit lame don't you think?