使用 Symfony 运行 php 命令 [英] running php command with Symfony

查看:31
本文介绍了使用 Symfony 运行 php 命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到最近,我一直在使用 Symfony 1 和 NetBeans IDE.在 Netbeans 中,我可以通过单击使用 Symfony 命令.

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

现在我想开始学习 Symfony 2.

Now I would like start learning Symfony 2.

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

我打开 cmd.exe 并转到 c:/wamp/www/Symfony 并:

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

php bin/vendors install

但这行不通.它告诉我它无法识别名称php".

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

我使用 Windows 7、Wamp Server 2.1(使用 PHP 5.3.5)和 Symfony 2.0.5

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

我该如何开始?

推荐答案

您是否将 php 添加到 Windows 路径中?

Have you added php to your windows path?

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

这篇关于使用 Symfony 运行 php 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆