How to solve this issue? DOM extension enabled in cPanel.
PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /home/freshvcf/public_html/test/vendor/magento/framework/Config/Dom.php:449
Magento 2 command is not working properly
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityRun this commands and try again :
sudo apt-get install php7.1-imap
sudo apt-get install php-xml
Install DOM Extension .
apt-get install php7.1-xml
Change PHP version according server PHP version