So, I just downloaded 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 we run Magento on ubuntu 16?
Hi @miladaz, does this help clarify the PHP requirements on Ubuntu? http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-ubuntu.html
Hi @miladaz, have you tried following these installation instructions? http://devdocs.magento.com/guides/v2.0/install-gde/continue.html
Also here's a guide to our sample data since you're using it: http://devdocs.magento.com/guides/v2.0/install-gde/install/sample-data.html
Currently, the Magento 2.1.0 composer.json doesn't allow PHP 7.0.4 but our testing confirms PHP 7.0.4 works.
You have two options: edit composer.json manually or use a different version of PHP. Up to you.