I'm trying to install magento using this https://devdocs.magento.com/guides/v2.3/install-gde/composer.html but I'm getting the error:
Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1]. - magento/product-community-edition 2.3.1 requires php ~7.1.3||~7.2.0 -> your PHP version (7.3.4) does not satisfy that requirement. Problem 2 - friendsofphp/php-cs-fixer v2.13.3 requires php ^5.6 || >=7.0 <7.3 -> your PHP version (7.3.4) does not satisfy that requirement. - friendsofphp/php-cs-fixer v2.13.2 requires php ^5.6 || >=7.0 <7.3 -> your PHP version (7.3.4) does not satisfy that requirement. - friendsofphp/php-cs-fixer v2.13.1 requires php ^5.6 || >=7.0 <7.3 -> your PHP version (7.3.4) does not satisfy that requirement. - friendsofphp/php-cs-fixer v2.13.0 requires php ^5.6 || >=7.0 <7.3 -> your PHP version (7.3.4) does not satisfy that requirement. - Installation request for friendsofphp/php-cs-fixer ~2.13.0 -> satisfiable by friendsofphp/php-cs-fixer[v2.13.0, v2.13.1, v2.13.2, v2.13.3].
Hello @kirraworks
Magento 2.3.x supports the below PHP versions and it is tested on PHP 7.2.11
~7.1.3
~7.2.0
It is recommended to have the above PHP Versions to install Magento 2.3.x. Your PHP Version is 7.3.4 which isn't fully compatible by Magento 2.3.x, which seems to be a compatibility issue here.
Once go through the technology stack requirements before you start installing the actual Magento 2.3.x. https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
I hope it solves your installation issue. If this answer solved your issue means,Click Kudos & Accept as Solution.
Hello @i_saisudheern
Supported PHP versions:
~7.1.3
~7.2.0
for magento 2.3
you need to upgrade php if you are using aws then use below link
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html
if you are using cpanel based server then you can easily change php version from cpanel.
After change php version check again, it should be work.
if works then mark as a solution.
How do I fix this? Can I downgrade my php?
I'm actually trying to install it on a local server
Hello @kirraworks
if you are using wamp then easy to change php version
I am using xampp, should I switch to wamp?
Hello @kirraworks
you can add php version into xampp as well
hope it will help you.