Установите Ext-Dom Linux

sudo apt install php-xml
Fahim Foysal