Fatal error: Class 'DOMDocument' not found in app/code/core/Zend/Xml/Security.php on line 82

How to solve this issue? DOM extension enabled in cPanel.

2 Answers 2


Could you please check phpinfo for php-xml is enabled. Please refer the screenshot below.

enter image description here

if is not enabled , Please enable in Cpanel.

  • its enabled in cpanel but still showing this error
    – Moorthy R
    Commented Jun 19, 2017 at 4:42

I think you need to install the DOM extension.

On Debian / Ubuntu using:

sudo apt-get install php5-dom

And on Centos / Fedora / Red Hat:

yum install php-xml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.