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

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

    I ran into a similar issue when trying to get composer to install some dependencies. It turns out the .dll my version of Wamp came with had a conflict, I am guessing, with 64 bit Windows.

    This url has fixed curl dlls: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

    Scroll down to the section that says: Fixed Curl Extensions.

    I downloaded "php_curl-5.4.3-VC9-x64.zip". I just overwrote the dll inside the wamp/bin/php/php5.4.3/ext directory with the dll that was in the zip file and composer worked again.

    I am running 64 bit Windows 8.

    Hope this helps.

提交回复
热议问题