作曲家安装错误 - 实际启用时需要ext_curl
2022-08-30 06:13:14
我正在尝试使用 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.
问题是,我启用了 curl 扩展(在 php 中未注释.ini)。当我运行 时,它说它已启用。我唯一的线索是,当我跑步时,“卷曲”线丢失了,但我不知道该怎么办。phpinfo()
$ php -m
我在Win8上有wamp 2.4,我正在用cmd.exe运行作曲家。