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 --nampespace=IDP/IDP_Bundle --format=yml
My PHP is in C:/wamp/bin/php/php5.3.10
But when I run the command it says:
could not open input file app/console
Can anyone tell me what is going wrong?
To execute command you should move to root directory of your project in terminal/CMD.
Please note that in version 2.5
some changes has been made so command will not work with app/console
Note: From 2.5 app/console
is replaced by bin/console
.
Please check here for changes. Also check this for more details about difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With