I started using Symfony today and I wanted to use the CLI. So I have installed PHPstorm. Followed all instructions. Added an up to date php 5.4
Now when I try to run:
> $ php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
Cannot run program "$" (in directory "E:\wamp\www\Symfony"): CreateProcess error=2, The system cannot find the specified map
Any ideas on how to fix this?
Edit
> php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
Cannot run program "php" (in directory "E:\wamp\www\Symfony"): CreateProcess error=2, Het systeem kan het opgegeven bestand niet vinden
> php.exe app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
Cannot run program "php.exe" (in directory "E:\wamp\www\Symfony"): CreateProcess error=2, Het systeem kan het opgegeven bestand niet vinden
I tried the answers, but it doesn't seem to change anything! Is this a bigger thing?
EDIT 2 SOLVED SO FAR
> c:\full\path\to\your\php.exe app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
That piece saved my life, thanks!