본문 바로가기

웹개발/PHP

PHP Fatal error: Class 'DOMDocument' not found 조치 방법

PHP에서 Fatal error: Class 'DOMDocument' not found in /home/data/html/common/class/board.cls on line 885

와 같은 애러 발생시 

php-xml 라이브러리를 설치해 주신 후, WAS(apache 등)를 재시작 해 주시면 됩니다.

yum -y install php-xml*

service httpd restart