Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not open input file app/console

Tags:

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?

like image 952
Zoha Ali Khan Avatar asked May 17 '12 14:05

Zoha Ali Khan


1 Answers

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.

like image 117
Parixit Avatar answered Oct 12 '22 13:10

Parixit