Could not open input file app/console

后端 未结 9 2697
故里飘歌
故里飘歌 2021-02-18 22:54

I installed wamp server and a copy of the Symfony2 framework. I am trying to create a Bundle, using the following command:

php app/console generate:bundle --nam         


        
9条回答
  •  暖寄归人
    2021-02-18 23:18

    Dont run the command from the php path.

    Add php into your path environment variable

    and then cd to the project

    C:/wamp/www/yourproject
    

    and then run the command

    php app/console generate:bundle --nampespace=IDP/IDP_Bundle --format=yml
    

    It will work

提交回复
热议问题