作曲家安装错误 [英] Composer Installation Error
问题描述
我在本地计算机上有两个服务器设置,一个是Zend Server,一个是Wamp,因为我想开始使用Symfony 2,并且它不会安装在Zend上。
I have two server setups on my local computer one is Zend Server and one is a Wamp because I wanted to start working with Symfony 2 and it would not install on Zend.
当我尝试安装作曲家时,我在wamp文件夹中选择了php.exe,但在安装结束时仍然出现此错误。
When I try to install composer I select the php.exe in my wamp folder but I keep getting this error at the end of the install.
错误:
The php exe you selected does not match the one found in your path.
Selected: C:\wamp\bin\php\php5.3.13\php.exe
In Path: C:\Program Files (x86)\Zend\ZendServer\bin\php.exe
Remove the following from your System Path Environment variable:
C:\Program Files (x86)\Zend\ZendServer\bin
Warning: Only do this if you are sure that it will not affect anything else.
推荐答案
在我的情况下是
Composer安装错误
Composer Installation Error
选择php.exe的位置
select where php.exe is located
I通过使用
C:wamp\bin\php\php5.4.12\php.exe
I solved the issue by using C:\wamp\bin\php\php5.4.12\php.exe
解决了该问题,然后重新运行
windowpowershell,方法是输入start-> search(运行)
,然后在终端机
中执行编辑器need11.com
and rerun the windowpowershell by typing in start->search (run) then composer in terminal need11.com
这篇关于作曲家安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!