sudo apt install php7.0-xml sudo service apache2 restart 百円サーバーでも普通に入っているライブラリだが、 php7.0等入れただけでは入っていなかった。