- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
magento/product-community-edition 2.4.0 requires php ~7.3.0||~7.4.0 -> your php version (8.0.7)
Hello, im trying to install the communuty edition by composer 2.1.2 but in the logs show that i have the php8 installed and that i must use the php7. i Have already installed the php7 but still requiring the right version. So please can anyone help.
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.0 /home/magento/
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires magento/product-community-edition 2.4.0 -> satisfiable by magento/product-community-edition[2.4.0].
- magento/product-community-edition 2.4.0 requires php ~7.3.0||~7.4.0 -> your php version (8.0.7) does not satisfy that requirement.
Problem 2
- Root composer.json requires dealerdirect/phpcodesniffer-composer-installer ^0.5.0 -> satisfiable by dealerdirect/phpcodesniffer-composer-installer[v0.5.0].
- dealerdirect/phpcodesniffer-composer-installer v0.5.0 requires php ^5.3|^7 -> your php version (8.0.7) does not satisfy that requirement.
Problem 3
- friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.10] require php ^5.6 || ^7.0 -> your php version (8.0.7) does not satisfy that requirement.
- friendsofphp/php-cs-fixer v2.16.6 requires php ^7.0 -> your php version (8.0.7) does not satisfy that requirement.
- friendsofphp/php-cs-fixer v2.16.7 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.
- Root composer.json requires friendsofphp/php-cs-fixer ~2.16.0 -> satisfiable by friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.10].