当前位置:网站首页>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
边栏推荐
- Oracle advanced (V) schema solution
- LED light of single chip microcomputer learning notes
- Xshell connection server changes key login to password login
- .net core 关于redis的pipeline以及事务
- Digital IC Design SPI
- Toraw and markraw
- PostgreSQL array type, each splice
- mysql 局域网内访问不到的问题
- [QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
- 现在网上开户安全么?那么网上开户选哪个证券公司?
猜你喜欢

如何让join跑得更快?

2022-7-7 Leetcode 34. Find the first and last positions of elements in a sorted array
![SSRF漏洞file伪协议之[网鼎杯 2018]Fakebook1](/img/10/6de1ee8467b18ae03894a8d5ba95ff.png)
SSRF漏洞file伪协议之[网鼎杯 2018]Fakebook1
![Supply chain supply and demand estimation - [time series]](/img/2c/82d118cfbcef4498998298dd3844b1.png)
Supply chain supply and demand estimation - [time series]

Talk about pseudo sharing

高等數學---第八章多元函數微分學1

Cmake learning and use notes (1)

DID登陆-MetaMask

Flink | multi stream conversion

Xshell connection server changes key login to password login
随机推荐
Mongodb slice summary
Oracle advanced (V) schema solution
Deep understanding of array related problems in C language
Read PG in data warehouse in one article_ stat
Vscade editor esp32 header file wavy line does not jump completely solved
社会责任·价值共创,中关村网络安全与信息化产业联盟对话网信企业家海泰方圆董事长姜海舟先生
LED light of single chip microcomputer learning notes
[high frequency interview questions] difficulty 2.5/5, simple combination of DFS trie template level application questions
2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis
High end for 8 years, how is Yadi now?
Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
高等數學---第八章多元函數微分學1
Leecode3. Longest substring without repeated characters
Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
一文读懂数仓中的pg_stat
LeetCode_二分搜索_中等_153.寻找旋转排序数组中的最小值
Data refresh of recyclerview
118. Yanghui triangle
MySQL error 28 and solution