With this command
$ brew install josegonzalez/php/composer
I get this message
Missing PHP53 or PHP54 from homebrew-php. Please install one or the other before continuing
Error: An unsatisfied requirement failed this build.
I have MacOsX 10.7 with MAMP. Can someone help me?
If you have already php installed, you can ignore the dependencies by --ignore-dependencies
parameter in example:
brew install composer --ignore-dependencies
Or if you don't have php, you'll have to install first via:
brew install php55
I use OSX 10.9 and use XAMPP.
I also have this problem.
But I use brew install php, and then install composer successfully.
brew install php54
update
or
brew install php55
Are you seeing this warning?
Warning: No developer tools installed.
Install the Command Line Tools: xcode-select --install
If so, it might fix your issue:
xcode-select --install
brew install php55
brew install composer
It worked for me. Warning, the xcode-select install takes a long time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With