Could not open input file app/console

php, symfony

Solution

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

Problem

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?

Original source

Related problems