Online Forum To Support Coders With Technical Assistance - Read Write Execute

DomDocument class not found in laravel in php7

Ankit Agrawal
Ankit Agrawal
Published on August 24, 2020 · 1 min read

You can resolve this issue by using following commands


apt-get install php-xml

OR

sudo apt-get install php-xml

After this command we need to restart apache server

 sudo service apache2 restart 
Was this article helpful?
Ankit Agrawal

Ankit Agrawal

Author & Senior Engineer at CodeExecute

Writing practical engineering guides, debugging real-world bottlenecks, and creating free tools for developer productivity.

← Previous Article How to send notification on mobile devices using firebase in php Next Article → How to check git repository’s origin remote url at localhost