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

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

    This worked for me: http://ubuntuforums.org/showthread.php?t=1519176

    After installing composer using the command curl -sS https://getcomposer.org/installer | php just run a sudo apt-get update then reinstall curl with sudo apt-get install php5-curl. Then composer's installation process should work so you can finally run php composer.phar install to get the dependencies listed in your composer.json file.

提交回复
热议问题