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.
Re: magento/product-community-edition 2.4.0 requires php ~7.3.0||~7.4.0 -> your php version (8.0.
first go to your root directory in which you want to install magento enterprise
and then run below command
which php which composer
and then the path you get from which php replace it with /opt/lampp/bin/php in below command and same for which composer command ...whatever path you get from which composer command replace it with /usr/local/bin/composer in below command and then run below command.