gpt4 book ai didi

symfony - Guzzle 安装

转载 作者:行者123 更新时间:2023-12-03 15:55:18 27 4
gpt4 key购买 nike

我不确定为什么会收到此错误:

php composer.phar require guzzle/guzzle:~3.7

错误 :
    ./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for guzzle/guzzle ~3.7 -> satisfiable by guzzle/guzzle[v3.7.0, v3.7.1, v3.7.2, v3.7.3, v3.7.4, v3.8.0, v3.8.1].


Installation failed, reverting ./composer.json to its original content.

任何的想法 ??!

最佳答案

guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.



只需安装 cURL extension .在 Debian/Ubuntu 上: sudo apt-get install php5-curl .不要忘记重新启动您的 Web 服务器/PHP 进程。

关于symfony - Guzzle 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22307284/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com