Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Root composer.json requires php ^7.2.5 but your php version (8.0.3) does not satisfy that require


It's becouse in your project in composer.json file you have:

"require": {
    "php": ">=7.3",
    .....
},
Try to update this requirement to:

"require": {
    "php": "^7.3|^8.0",
    .....
},
Comment

- root composer.json requires php ^7.1.3 but your php version (8.0.3) does not satisfy that requirement.

It's becouse in your project in composer.json file you have:

"require": {
    "php": ">=7.3",
    .....
},
Try to update this requirement to:

"require": {
    "php": "^7.3|^8.0",
    .....
},
Comment

- root composer.json requires php ^7.2 but your php version (8.0.1) does not satisfy that requirement.

Your project using php7.2 version and composer installed with 8.0.1.
Update your composer with php 7.2 instead 8.0.1. problem will solve.
Comment

root composer.json requires php ^7.3 but your php version (8.0.3) does not satisfy that requirement.

  "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",

    },
Comment

root composer.json requires php ^7.1.3 but your php version (8.0.3) does not satisfy that requirement.

On Mac using Home Brew, you can switch php versions easily:
brew unlink php@8.0
brew link php@7.1

Or follow the upgrade path to get your app to support the newer php version
Comment

root composer.json requires php ^7.1.3 but your php version (8.0.1) does not satisfy that requirement.

for windows 
download php version you require
https://www.php.net/releases/index.php
then in variable environment of windows, edit PATH key, find php and update path to your new php version(after extract)

for ubuntu/linux
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1

then if in future you want to switch between your php versions, 
sudo update-alternatives --config php
Comment

PREVIOUS NEXT
Code Example
Php :: Enable / Disable modules in PHP 
Php :: start server in laravel 
Php :: session flush laravel 
Php :: how get the first item in foreach in laravel 
Php :: laravel insert or ignore 
Php :: redirect on validation error laravel to specific section laravel 
Php :: get http referer php 
Php :: curl error handling 
Php :: dequeue beaver buillder script wordpress 
Php :: phpstorm serial key 2020.2.3 
Php :: php force array keys to lowercase 
Php :: passed to LcobucciJWTSignerHmac::doVerify() must be an instance of LcobucciJWTSignerKey, null given, 
Php :: php model last record 
Php :: var_dump beautify 
Php :: php get ip address of visitor 
Php :: laravel bindings query 
Php :: pretty show php arrays 
Php :: php copy image from one folder to another 
Php :: the configuration file now needs a secret passphrase (blowfish_secret) 
Php :: php split string by enter 
Php :: delete cache laravel 
Php :: php round all values in array 
Php :: php remove bom 
Php :: return error when duplicated laravel 
Php :: xml to object php 
Php :: unique validation on update laravel 
Php :: laravel get last 5 records 
Php :: php loop through string 
Php :: laravel get query output 
Php :: find string in text in laravel 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =