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 :: woocommerce get orders by user id 
Php :: PHP str_split — Convert a string to an array 
Php :: password change logout from wordpress 
Php :: thousand seperator php 
Php :: how to log object laravel logger 
Php :: hide all error in php 
Php :: laravel request password validation rule 
Php :: laravel blade @selected 
Php :: concat php 
Php :: get file extension php 
Php :: return json in middleware laravel 
Php :: lDownload multiple files as a zip-file using php 
Php :: php remove first word from string 
Php :: search in laravel 8 
Php :: php combine values of two arrays 
Php :: php connect strings 
Php :: Laravel stop on first validation error 
Php :: php number to words 
Php :: laravel many to many relation update 
Php :: wordpress admin url 
Php :: macos how host laravel website on localhost and intranet wifi 
Php :: php json get value by key 
Php :: laravel create model controller and migration on line 
Php :: laravel casts 
Php :: array_walk in php 
Php :: laravel routes not working on production server 
Php :: how to set select option value dynamically in php 
Php :: php timestamp to iso8601 
Php :: php new PDO timeout 
Php :: office 2013 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =