apache - 使用 composer 安装 Apache=pack 安装失败
问题描述
当我使用 powershell 和 composer 安装 Apache-pack 时,我运行 Symfony 4.4,如下所示:
composer require symfony/apache-pack
安装失败,它说:
Symfony operations: 1 recipe (2a9150161ef91a4c31501a86af2f4e35)
- WARNING symfony/apache-pack (>=1.0): From github.com/symfony/recipes-contrib:master
The recipe for this package comes from the "contrib" repository, which is open to community contributions.
Review the recipe at https://github.com/symfony/recipes-contrib/tree/master/symfony/apache-pack/1.0
Do you want to execute this recipe?
[y] Yes
[n] No
[a] Yes for all packages, only for the current installation session
[p] Yes permanently, never ask again for this project
(defaults to n):
Installation failed, reverting ./composer.json to its original content
无法交互并单击“是”以执行配方。
我试图像这样删除并重新安装,但我遇到了同样的问题:
$ composer rem apache-pack
$ composer req apache-pack
解决方案
推荐阅读
- html - 如何在段落中突出显示带有填充的长句子?
- macos - NSColor 用于选定的表格视图文本
- c# - 添加具有多个子实体的实体的最佳实践(实体框架)
- angularjs - 在 AngularJs 1.7.2 中对降级的 Angular 5 组件使用 NgRef
- python - 熊猫根据城市填充缺失的国家值(如果存在)
- tsql - 使用参数获取存储过程结果时出现 EF6 语法错误
- javascript - 点击地图 HERE 地图获取坐标
- java - 设置 -illegal-access=deny 时授予不受信任的代码“suppressAccessChecks”是否安全?
- mysql - 输出结果水平聚合列值
- python - 多图 Seaborn 和特定轴(如图所示)