Magento 2.1 Composer – Update Error: magento/product-community-edition Requires Specific PHP Versions

composererrormagento-2.1php-7upgrade

Trying to do an update to Magento 2.1.0 via composer and getting this weird error.

Php version is 7.04 running on Ubuntu x64

composer require magento/product-community-edition 2.1.0 --no-update

./composer.json has been updated

composer update

Loading composer repositories with package information Updating
dependencies (including require-dev) Your requirements could not be
resolved to an installable set of packages.

Problem 1
– Installation request for magento/product-community-edition 2.1.0 -> satisfiable by magento/product-community-edition[2.1.0].

– magento/product-community-edition 2.1.0 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.0.4) does not satisfy that
requirement.

Best Answer

There is no magento/product-community-edition 2.1.0 yet. Latest release is magento/product-community-edition 2.1.0-rc3. The wording in magento bulletins and notifications is misleading and tricky. You get the impression that there is a 2.1.0 GA, but there are only Release candidates.

Related Topic