gpt4 book ai didi

php - 拉拉维尔 : Install Microsoft Azure Client Library with composer

转载 作者:行者123 更新时间:2023-12-03 03:12:02 25 4
gpt4 key购买 nike

有人在 Ubuntu 服务器上使用 Composer 将 Microsoft Azure 客户端库安装到 Laravel 5 项目吗?

当我尝试使用 Composer 安装(命令:composer require microsoft/windowsazure)时,出现下一个错误:

Using version ^0.4.1 for microsoft/windowsazure
./composer.json has been updated
> php artisan clear-compiled
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
- Installation request for microsoft/windowsazure ^0.4.1 -> satisfiable by microsoft/windowsazure[v0.4.1].
- microsoft/windowsazure v0.4.1 requires pear-pear2.php.net/http_request2 * -> no matching package found.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

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

有人知道我做错了什么吗?感谢您的帮助。

最佳答案

通过修改 Composer 的配置,将 secure-http 设置为 false 解决了该问题

"config": {
"secure-http": "false"
}

关于php - 拉拉维尔 : Install Microsoft Azure Client Library with composer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36057051/

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