Instale o Linux ext-dom

sudo apt install php-xml
Fahim Foysal