作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有人在 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/
我正在使用 git clone 部署我的 Laravel 项目并使用 git pull 进行更新 它工作正常,但每次部署时,我都必须从 config/app.php providers 数组和 ali
我是一名优秀的程序员,十分优秀!