php bin/console symfony commands give a fatal error

前端 未结 1 2000
眼角桃花
眼角桃花 2021-02-12 15:17

I installed a symfony 3 project but cant run any php bin/console commands. When I try, I get the following error:

PHP Fatal error: Uncaught Symfony\\Comp

相关标签:
1条回答
  • 2021-02-12 15:56

    After hours of looking for solutions I checked the php packages that I had installed and realized that php-xml was not there.

    sudo apt install php-xml
    

    Now it works :)

    0 讨论(0)
提交回复
热议问题