How to command run for symfony2 in windows 7

喜欢而已 提交于 2019-11-30 09:42:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!