rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Update php version #75

Open frshjb373 opened 7 years ago

frshjb373 commented 7 years ago

Getting a php error when trying to update magento to 2.1.7. How do you update php version?

vagrant@mage2:/vagrant/data/magento2$ composer require magento/product-community-edition 2.1.7 --no-update ./composer.json has been updated vagrant@mage2:/vagrant/data/magento2$ 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

  • The requested package magento/product-enterprise-edition could not be found in any version, there may be a typo in the package name. Problem 2
  • Installation request for magento/product-community-edition 2.1.7 -> satisfiable by magento/product-community-edition[2.1.7].
  • magento/product-community-edition 2.1.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (5.5.38) does not satisfy that requirement.

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. vagrant@mage2:/vagrant/data/magento2$