Magento 2.1.0 on Ubuntu 16.04 – Not Running on PHP 7.0.4

errorinstallationmagento-2.1magento2PHP

I just tried to run Magento-CE-2.1.0. I use Ubuntu 16.04 and the php version is 7.0.4-7ubuntu2.
But I got this error when I wanted to run Magento:

'Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. Please read
Magento System Requirements.'

What should I do? Can't I run Magento on ubuntu 16?

Best Answer

Nope, they have a big issue with PHP version on Ubuntu 16.04 .

Your only real option is to change PHP version to 7.0.6 or 7.0.8 or wait for next release (they are going to fix it).

Look here for more information: https://github.com/magento/magento2/issues/5131 .

Look here for PHP upgrade: https://launchpad.net/~ondrej/+archive/ubuntu/php?field.series_filter=xenial

UPDATE:

Ubuntu 16.04 has been updated to support 7.0.8, so Magento 2 is no more an issue on Ubuntu 16.04.

Related Topic