php class missing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
edzillion
Forum Newbie
Posts: 12
Joined: Mon Jan 28, 2008 10:06 am

php class missing

Post by edzillion »

Ok I am new to php and I am having problems with a missing class
I get the error message:
Fatal error: Class 'DOMDocument' not found in ...blah.com/html/xmlParser.php on line 49
I have looked at the phpInfo on the server and it states
libxml
libXML support active
libXML Version 2.6.26
libXML streams enabled
What can I do?
TIA
Ed
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: php class missing

Post by Christopher »

The Dom XML extension is different that the libXML one. Check that you have it installed:

http://us3.php.net/manual/en/ref.domxml.php
(#10850)
Post Reply