国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

安裝 workerman/http-client不成功怎么處理?

veinliu

composer require workerman/http-client

root@Database:~# composer require workerman/http-client
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.1.1 for workerman/http-client
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
composer require workerman/http-client

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

[Composer\Downloader\TransportException]
The "https://repo.packagist.org/p/workerman/gateway-worker-demo.json" file
could not be downloaded: SSL: Success
Failed to enable crypto
failed to open stream: operation failed

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

3921 4 0
4個回答

veinliu

請問各位前輩,這個是怎么回事?

  • 暫無評論
veinliu

composer require workerman/http-client
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.1.1 for workerman/http-client
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
Failed to download psr/http-message from dist: The zip extension and unzip command are both missing, skipping.
Your command-line PHP is using multiple ini files. Run php --ini to show them.
Now trying to download from source

  • Installing psr/http-message (1.0.1): Cloning f6561bf28d

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

[RuntimeException]
Failed to clone https://github.com/php-fig/http-message.git, git was not fo
und, check that it is installed and in your PATH env.

sh: 1: git: not found

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

  • 暫無評論
veinliu

安裝好了,但是沒有看到新建http client這樣的文件夾,不知道是不是安裝成功了。

  • 暫無評論
lixiaonan777

遇到了同樣的問題,綜合查詢的資料,如下,其他百度出來的可能無用。
首先使用阿里的源
先composer workerman
然后composer http-client
本人親測,成功

  • 暫無評論
年代過于久遠,無法發(fā)表回答
??