symonfy 项目根目录下没有 bin/console 文件的解决方法

“Could not open input file: bin/console” Error comes when try to Run the Symfony Application

在采纳的答案中,可以使用php app/console server:run

如 Visualizing & Debugging Routes

php bin/console debug:router

在sf2.7(我目前学习的sf 版本),会提示

Could not open input file: bin/console

故用

php app/console debug:router

进行代替即可。

 

posted @ 2016-03-29 21:41  五毛钱的饼  阅读(801)  评论(0编辑  收藏  举报