尝试从下面的链接安装FOSUserBundle捆绑包如何安装第三方捆绑包但收到此错误:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]  
  The child node "db_driver" at path "fos_user" must be configured. 
Run Code Online (Sandbox Code Playgroud)
    Nic*_*ich 61
您忘记在您的FOSUserBundle中添加配置,app/config/config.yml或者至少没有为其提供值fos_user.db_driver.
您必须至少配置db_driver,防火墙和您的用户类,否则配置将抛出InvalidConfigurationException.
# app/config/config.yml
fos_user:
    db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
    firewall_name: main
    user_class: Acme\UserBundle\Entity\User
Run Code Online (Sandbox Code Playgroud)
请参阅文档章节步骤5:配置FOSUserBundle.