alankent / vagrant-magento2-apache-base

Base Vagrant image for building Magento 2 within
58 stars 29 forks source link

Incorrect PHP version? #15

Open matt-bailey opened 8 years ago

matt-bailey commented 8 years ago

Hi, I've just run vagrant up and ssh'd into the box. From the /var/www/magento2 directory I've run composer install and I'm getting a strange error.

screenshot 2016-03-17 15 32 59

It's basically saying that the PHP version in the box doesn't satisfy the requirements, but it's actually higher (5.5.9) than the lowest required version (5.5.22)?...

ttnnkkrr commented 8 years ago

same

tobias-forkel commented 8 years ago

I had the same problem with 5.5.9. You can update PHP to 5.6.x as follows. For sure, just a quick fix.

vagrant@vagrant-ubuntu-trusty-64:~$ php -v PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 (cli)

Source: https://www.dev-metal.com/install-setup-php-5-6-ubuntu-14-04-lts/