问题
I am working on Ubuntu environment (LAMP).But when i install symfony2 on windows 7 starter operating system i face problem when i try to make entity with command prompt in windows it not take php app/console
Any help is appreciated!
Thanks
回答1:
You need to add the PHP executable to your PATH, or calling it with an absolute link: c:\path\to\php\php.exe app/console
.
回答2:
Just go to the symfony folder and start writing the symfony commands ...
c:\path-to-symfony-project> for example "c:\xampp\htdocs\test>"
来源:https://stackoverflow.com/questions/11126325/how-to-command-run-for-symfony2-in-windows-7