使用此命令
$ brew install josegonzalez/php/composer我收到了这个消息
Missing PHP53 or PHP54 from homebrew-php. Please install one or the other before continuing
Error: An unsatisfied requirement failed this build.我用的是MacOsX 10.7和MAMP。有人能帮我吗?
发布于 2014-11-09 23:17:46
你看到这个警告了吗?
安装警告:没有开发人员工具选择命令行工具:xcode- installed.Install --
如果是这样,它可能会解决您的问题:
xcode-select --install
brew install php55
brew install composer这对我很管用。警告,xcode-select安装需要很长时间。
发布于 2014-06-24 17:15:00
如果您已经安装了php,可以通过示例中的--ignore-dependencies参数忽略依赖关系:
brew install composer --ignore-dependencies或者如果你没有php,你必须首先通过:
brew install php55发布于 2014-02-26 19:07:22
我使用OSX 10.9和XAMPP。
我也有这个问题。
但我使用brew安装php,然后成功安装composer。
brew install php54更新
或
brew install php55https://stackoverflow.com/questions/15185152
复制相似问题