我安装了一个symfony 3项目,但不能运行任何PHP bin / console命令.当我尝试,我得到以下错误:
PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class “DOMDocument” from the global namespace.
Did you forget a “use” statement? in project_folder/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.PHP:52
任何想法如何解决这个问题?