当前位置:网站首页>requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
2022-07-07 11:48:00 【全栈程序员站长】
一个大兄弟本地用了 PHP 7.1 进行开发,而我本地是 PHP 7.0, 于是悲剧发生了。
composer install 之后报错
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 2
- Installation request for doctrine/cache v1.7.1 -> satisfiable by doctrine/cache[v1.7.1].
- doctrine/cache v1.7.1 requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 3
- Installation request for doctrine/collections v1.5.0 -> satisfiable by doctrine/collections[v1.5.0].
- doctrine/collections v1.5.0 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 4
- Installation request for doctrine/common v2.8.1 -> satisfiable by doctrine/common[v2.8.1].
- doctrine/common v2.8.1 requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 5
- Installation request for doctrine/dbal v2.6.2 -> satisfiable by doctrine/dbal[v2.6.2].
- doctrine/dbal v2.6.2 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 6
- Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0].
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
Problem 7
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
- doctrine/dbal v2.6.2 requires php ^7.1 -> your PHP version (7.0.18) does not satisfy that requirement.
- doctrine/dbal 2.5.x-dev requires doctrine/common >=2.4,<2.8-dev -> satisfiable by doctrine/common[2.7.x-dev].
- backpack/crud 3.2.21 requires doctrine/dbal ^2.5 -> satisfiable by doctrine/dbal[2.5.x-dev, v2.6.2].
- doctrine/common 2.7.x-dev requires doctrine/annotations 1.* -> satisfiable by doctrine/annotations[v1.5.0].
- Installation request for backpack/crud 3.2.21 -> satisfiable by backpack/crud[3.2.21].解决方法是
删除 composer.lock 文件,重新执行 composer install,这样就能重新生成 composer.lock 文件了。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/113306.html原文链接:https://javaforall.cn
边栏推荐
- Read PG in data warehouse in one article_ stat
- 华为镜像地址
- Leetcode simple question sharing (20)
- 记一次 .NET 某新能源系统 线程疯涨 分析
- LeetCode_二分搜索_中等_153.寻找旋转排序数组中的最小值
- 云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
- 《厌女:日本的女性嫌恶》摘录
- . Net core about redis pipeline and transactions
- Shell batch file name (excluding extension) lowercase to uppercase
- Distributed transaction solution
猜你喜欢

Getting started with MySQL

Ogre introduction

Digital IC Design SPI

Detr introduction

Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf

Flink | multi stream conversion

LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
![Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]](/img/35/5224252624cc76f42cbd0fd5c81d8c.png)
Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]

Help tenants

最佳实践 | 用腾讯云AI意愿核身为电话合规保驾护航
随机推荐
Clion mingw64 Chinese garbled code
高等數學---第八章多元函數微分學1
Milkdown control icon
MySQL error 28 and solution
提升树莓派性能的方法
Fast development board pinctrl and GPIO subsystem experiment for itop-imx6ull - modify the device tree file
Esp32 ① compilation environment
我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
一文读懂数仓中的pg_stat
THINKPHP框架的优秀开源系统推荐
[QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
为租客提供帮助
Detr introduction
[1] Basic knowledge of ros2 - summary version of operation commands
Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
2022-7-6 Leetcode 977.有序数组的平方
【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
得物客服热线的演进之路
Write it down once Net a new energy system thread surge analysis
最佳实践 | 用腾讯云AI意愿核身为电话合规保驾护航