Composer Installation Error

本秂侑毒 提交于 2019-12-25 04:55:37

问题


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.

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.

ERROR:

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.

回答1:


In my case it is

Composer Installation Error

select where php.exe is located

I solved the issue by using C:\wamp\bin\php\php5.4.12\php.exe

and rerun the windowpowershell by typing in start->search (run) then composer in terminal need11.com



来源:https://stackoverflow.com/questions/14774404/composer-installation-error

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