PHP Fatal error: Class ‘DOMDocument’ not found in bla..bla..

from the tail -f /var/log/httpd/error

[Tue Mar 10 16:01:30 2009] [error] [client 127.0.0.1] PHP Fatal error: Class 'DOMDocument' not found in /home/namran/src/....php on line 15, referer: http://...

dom-not-found2

the solution turn out to be

yum install php-xml

complete-php-xml

Related Post

2 Responses

  1. Patrick says:

    I was just curious as to what you use for your desktop OS? Is it primarily CentOS or Ubuntu? I’m considering CentOS but I haven’t seen many articles about really using it for a workstation.

    Reply
  2. owen says:

    Did you get further into GWT?

    Btw GWT is just javascript compiled via Java’s JRE, and the produced code is simply javascript. So if you want to code JS the most professional way – like IDE dev support, step debugging, and unit tests – use GWT.

    For me, I just love java. C# had a great future but Microsoft managed to screw it up somehow.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *