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

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

    I had this problem after upgrading to PHP5.6. My answer is very similar to Adriano's, except I had to run:

    sudo apt-get install php5.6-curl
    

    Notice the "5.6". Installing php5-curl didn't work for me.

提交回复
热议问题