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

前端 未结 15 1025
遇见更好的自我
遇见更好的自我 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:52

    For anyone who encounters this issue on Windows i couldn't find my answer on google at all. I just tried running composer require ext-curl and this worked. Alternatively add the following in your composer.json file:

    "require": {
    "ext-curl": "^7.3"
    }
    

提交回复
热议问题