Open
Conversation
I have the latest version of PHP installed (8.0.1) and after running the composter install command, I received the following error in my PhpStorm terminal window:
=====================================================================================
Problem 1
- Root composer.json requires php ^5.6 || ^7 but your php version (8.0.1) does not satisfy that requirement.
Problem 2
- filp/whoops is locked to version 2.3.1 and an update of this package was not requested.
- filp/whoops 2.3.1 requires php ^5.5.9 || ^7.0 -> your php version (8.0.1) does not satisfy that requirement.
=====================================================================================
I simply made the following changes on line 8 of the composer.json file to circumvent the error:
"php": "^5.6 || ^7 || ^8.0",
I simply appended the "|| ^8.0" and reran the composer install command and it ran with no errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have the latest version of PHP installed (8.0.1) and after running the composter install command, I received the following error in my PhpStorm terminal window:
=====================================================================================
Problem 1
- Root composer.json requires php ^5.6 || ^7 but your php version (8.0.1) does not satisfy that requirement.
Problem 2
- filp/whoops is locked to version 2.3.1 and an update of this package was not requested.
- filp/whoops 2.3.1 requires php ^5.5.9 || ^7.0 -> your php version (8.0.1) does not satisfy that requirement.
I simply made the following changes on line 8 of the composer.json file to circumvent the error:
"php": "^5.6 || ^7 || ^8.0",
I simply appended the "|| ^8.0" and reran the composer install command and it ran with no errors.