Composer install error - requires ext_curl when it's actually enabled

前端 未结 15 990
遇见更好的自我
遇见更好的自我 2020-12-04 07:50

I\'m trying to install Facebook PHP SDK with Composer. This is what I get

$ composer install
Loading composer repositories with package information
Installin         


        
15条回答
  •  攒了一身酷
    2020-12-04 08:42

    I have Archlinux with php 7.2, which has Curl integrated, so no amount of configuration voodoo would make Composer see ext-curl, that PHP could see and work with happily. Work around is to use Composer with --ignore-platform-reqs.

    eg composer update --ignore-platform-reqs

    Reference = https://github.com/composer/composer/issues/1426

提交回复
热议问题