Failed to install Composer on mac?

Source: Internet
Author: User
Tags apc derick
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.