PHP Fatal error: Class 'DOMDocument' not found

(PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/w/includes/cache/LocalisationCache.php에서 넘어옴)

1 개요[ | ]

PHP Fatal error: Class 'DOMDocument' not found
PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/w/includes/cache/LocalisationCache.php

2 문제상황[ | ]

  • 미디어위키 1.23 설치 중 오류 발생
[root@zetawiki ~]# cat /var/log/httpd/error_log | tail -1
[Sat Jun 07 21:26:42 2014] [error] [client 135.79.246.80] PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/w/includes/cache/LocalisationCache.php on line 650, referer: http://jmnote.com/w/
→ DOMDocument 클래스를 못찾겠다고 한다.

3 PHP dom 모듈 확인 및 설치[ | ]

[root@zetawiki ~]# php -m | grep dom
[root@zetawiki ~]# rpm -qa | grep php-xml

4 후속 작업[ | ]

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}