简体   繁体   English

如何在symfony2中更新作曲家

[英]how to update composer in symfony2

I want instaler the LexikFormFilterBundle but when I made the command composer update in the console I got this error even though the call is set : Cannot run program "composer" (in directory "C:\\wamp\\www\\esen-ecommerce"): CreateProcess error=2, Le fichier spécifié est introuvable 我想要安装LexikFormFilterBundle,但是当我在控制台中对命令作曲家进行更新时,即使调用已设置,我也会收到此错误:无法运行程序“ composer”(在目录“ C:\\ wamp \\ www \\ esen-ecommerce”中): CreateProcess error = 2,可追溯

在此处输入图片说明

You can use 您可以使用

C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat

set path=%path%;c:\bin

assuming that c:\\binis the path where composer.phar is located 假设c:\\ bin是composer.phar所在的路径

Sources: 资料来源:

https://getcomposer.org/doc/00-intro.md#installation-windows https://getcomposer.org/doc/00-intro.md#installation-windows

Is there any way to install Composer globally on Windows? 有什么方法可以在Windows上全局安装Composer?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM