running php command with Symfony

早过忘川 提交于 2019-12-24 15:27:18

问题


Until recently, I've used Symfony 1 and NetBeans IDE. In Netbeans, I could use Symfony commands by clicking.

Now I would like start learning Symfony 2.

http://symfony.com/doc/current/quick_tour/the_big_picture.html

I open cmd.exe and go to c:/wamp/www/Symfony and:

php bin/vendors install

But this doesn't work. It tells me it doesn't not recognize the name "php".

I use Windows 7, Wamp Server 2.1 (with PHP 5.3.5) and Symfony 2.0.5

How can i start with this?


回答1:


Have you added php to your windows path?

http://bobschwarz.com/quick-tip-adding-mysql-and-php-to-your-windows-path/



来源:https://stackoverflow.com/questions/8079337/running-php-command-with-symfony

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