我正在尝试使用Composer安装Facebook PHP SDK.这就是我得到的
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for facebook/php-sdk dev-master -> satisfiable by facebook/php-sdk[dev-master].
- facebook/php-sdk dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
Run Code Online (Sandbox Code Playgroud)
问题是,我启用了curl扩展(在php.ini中取消注释).当我跑步时phpinfo(),它表示它已启用.我只知道当我跑步时$ php -m,"卷曲"线丢失但我不知道该怎么办.
我在Win8上运行2.4,我在cmd.exe中运行composer.
我通过DotDeb repo在Debian Wheezy上使用NGINX和PHP-FPM.
这是我的php.ini文件中唯一的curl引用,我不确定我需要做什么.任何帮助表示赞赏(已安装)
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
; Local Variables:
; tab-width: 4
; End:
Run Code Online (Sandbox Code Playgroud)