How to fix PHP Fatal error: Class 'DOMDocument' not found in | ![]() | ![]() | ![]() |
Question: How to fix PHP Fatal error:
NOTE: Received this error on a Centos 5 environment while trying to run a PHP script that makes use of the DOMDocument class
Answer:
In the CLI (Command Line Interface) run the following command
This will install XML support and will solve the DOMDocument issue