【问题标题】:curl is installed and working but gives error when i run "php composer.phar install"curl已安装并且可以正常工作,但是当我运行“php composer.phar install”时出现错误
【发布时间】:2014-03-08 06:17:43
【问题描述】:

我已经安装了所有东西,我在 Windows 7 上使用 wamp 但是当我在 php composer.phar 上运行命令时安装

但它给出了错误

问题 1 - behat/mink-goutte-driver v1.0.3 需要 fabpot/goutte @dev -> 满足 fabpot/goutte[dev-master, 1.0.x-dev, v0.1.0, v1.0.0, v1.0.1, v1.0.2 , v1.0.3]。

- behat/mink-goutte-driver dev-master requires fabpot/goutte ~1.0 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver 1.0.x-dev requires fabpot/goutte ~1.0 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.0 requires fabpot/goutte 1.0.* -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.1 requires fabpot/goutte 1.0.x-dev -> satisfiable by fabpot/goutte[1.0.x-dev].

- behat/mink-goutte-driver v1.0.2 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.4 requires fabpot/goutte 1.0.x@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.5 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.6 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.7 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.8 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3].

- behat/mink-goutte-driver v1.0.9 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3].

- fabpot/goutte v0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte v1.0.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte v1.0.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte v1.0.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte v1.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.

- fabpot/goutte 1.0.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.

- Installation request for behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].

cUR 已经安装并且使用其他东西也显示在 phpifo() 上启用;

有人可以帮忙吗?

【问题讨论】:

  • PHP 的 libcurl 与实际的 cURL 不同。您可以在系统上安装 cURL 或使用 Git Bash 来执行此任务。

标签: php curl


【解决方案1】:

您需要安装 PHP curl.. 为此,请停止 wamp 服务器并 1.在apachi文件夹和wamp的php文件夹中打开php.ini(假设您使用的是wamp)并取消注释extension=php_curl.dll 2. 从here 安装curl for windows。 3. 将 C:\Program Files\cURL\bin 保存在路径变量中

注意:(请确保您的 C:\Windows\System32 包含“ssleay32.dll”和“libeay32.dll”(如果没有,请从 wamp 的 PHP 目录复制。

【讨论】:

    猜你喜欢
    • 2014-01-29
    • 1970-01-01
    • 2017-12-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多