View Single Post

  #2 (permalink)  
Old 03-17-2008
Sylvain
 
Posts: n/a
Default Re: Fail to use DomDocument on linux

Sylvain wrote on 17/03/2008 03:04:
>
> I'm having a problem to instantiate a 'DomDocument' class
> with PHP 5.2.4 running on Fedora 7 / Apache 2.2.6
> the "new DomDocument;" statement gives:
> "Fatal error: Class 'DomDocument' not found ".


oups! 'php-xml' is not installed in default config.
"yum install php-xml" solves the issue.

Sylvain.
Reply With Quote