http://www.php.net/manual/en/dom.requirements.php They usually post the requirements or dependencies if there are any. Richard L. Buskirk -----Original Message----- From: Adam Tong [mailto:adam.tongu@xxxxxxxxx] Sent: Wednesday, June 08, 2011 10:30 PM To: admin@xxxxxxxxxxxxxxxxxxx Cc: php-general@xxxxxxxxxxxxx Subject: Re: Can't use class "'DOMDocument" Hi, You're right. I just installed the package php-xml, and everything is working properly now. Is there anyway to know for each class or function which is the package needed? thank you On Tue, Jun 7, 2011 at 3:48 AM, <admin@xxxxxxxxxxxxxxxxxxx> wrote: > Did you install the php-xml ? > > Richard L. Buskirk > > -----Original Message----- > From: Adam Tong [mailto:adam.tongu@xxxxxxxxx] > Sent: Monday, June 06, 2011 9:49 PM > To: php-general@xxxxxxxxxxxxx > Subject: Can't use class "'DOMDocument" > > Hi, > > When I try using DOMDocument I get the following error: > Fatal error: Class 'DOMDocument' not found in ... > > I guess something has to be fixed in my php.ini? > > Here is my php version: > # php -version > PHP 5.3.6 (cli) (built: Mar 17 2011 20:58:15) > Copyright (c) 1997-2011 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies > > I also noticed when I click reply in gmail it does not reply to the > list. Sorry for that inconvenience for poeple who tried to help me > while the previous issue was already resolved. > > Thank you > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php