tôi cố gắng lệnh chạy: app/console cache:clear
PHP 7 DomDocument không tìm thấy
này trả lại cho tôi lỗi:
An error occurred when executing the "'cache:clear --no-warmup'" command:
PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowable
Error: Fatal error: Class 'DOMDocument' not found in /var/www/html/vendor/s
ymfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Ubuntu 14.04 LTS tôi sử dụng PHP 7 và install php5-dom không được giải quyết vấn đề của tôi: sudo apt-get install php5-dom
Bạn có mô-đun xml cho php trong hệ thống của mình không ?? – Drudge
Lưu ý rằng nó có thể cần thiết để 'sudo service apache2 restart' sau khi cài đặt gói. – BurninLeo