当前位置:网站首页>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
边栏推荐
- 2022-7-7 Leetcode 844.比较含退格的字符串
- 118. 杨辉三角
- 2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
- ROS机器人更换新雷达需要重新配置哪些参数
- xshell连接服务器把密钥登陆改为密码登陆
- 648. 单词替换 : 字典树的经典运用
- 得物客服热线的演进之路
- Write it down once Net a new energy system thread surge analysis
- Build a secure and trusted computing platform based on Kunpeng's native security
- Mongodb slice summary
猜你喜欢
Thread pool reject policy best practices
.net core 关于redis的pipeline以及事务
LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
Centso7 OpenSSL error Verify return code: 20 (unable to get local issuer certificate)
LeetCode简单题分享(20)
Build a secure and trusted computing platform based on Kunpeng's native security
118. Yanghui triangle
2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
Redis can only cache? Too out!
随机推荐
flask session伪造之hctf admin
Redis can only cache? Too out!
Indoor ROS robot navigation commissioning record (experience in selecting expansion radius)
Data refresh of recyclerview
Ikvm of toolbox Net project new progress
实现IP地址归属地显示功能、号码归属地查询
Storage principle inside mongodb
postgresql array类型,每一项拼接
Milkdown control icon
供应链供需预估-[时间序列]
mysql 局域网内访问不到的问题
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
室内ROS机器人导航调试记录(膨胀半径的选取经验)
Excerpt from "misogyny: female disgust in Japan"
数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
一文读懂数仓中的pg_stat
1. Deep copy 2. Call apply bind 3. For of in differences
Problems that cannot be accessed in MySQL LAN
高等数学---第八章多元函数微分学1
"New red flag Cup" desktop application creativity competition 2022