I installed Composer's brewinstallcomposer through brew {code ...} my php: {code ...} mac white, solution ===================================================== ===== wipe, just solved... I installed Composer through brew.
brew install composer
composer: Composer PHP requirements check has failed. The following verification command:curl -s http://getcomposer.org/installer | /usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off -d date.timezone=UTC -d apc.enable_cli=Off -- --checkfailed because of the following reason:Error: An unsatisfied requirement failed this build.
Myphp
:
php --versionPHP 5.5.19 (cli) (built: Nov 30 2014 23:56:22)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologieswith Xdebug v2.2.6, Copyright (c) 2002-2014, by Derick Rethans
Mac tips
========================================================== ===
I wiped it. I just fixed it.
Verify your installation by running:"composer --version".You can read more about composer and packagist by running:"brew home composer".
The problem has been disabled. cause: the problem cannot obtain the exact result.
Reply content:
I installed Composer through brew.brew install composer
composer: Composer PHP requirements check has failed. The following verification command:curl -s http://getcomposer.org/installer | /usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off -d date.timezone=UTC -d apc.enable_cli=Off -- --checkfailed because of the following reason:Error: An unsatisfied requirement failed this build.
Myphp
:
php --versionPHP 5.5.19 (cli) (built: Nov 30 2014 23:56:22)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologieswith Xdebug v2.2.6, Copyright (c) 2002-2014, by Derick Rethans
Mac tips
========================================================== ===
I wiped it. I just fixed it.
Verify your installation by running:"composer --version".You can read more about composer and packagist by running:"brew home composer".
Congratulations
There are still many pitfalls in brew install, not apt-get, so it's so cool to use mac for server development.
Brew update and try again