I am new to magento and i have just installed Magento locally on my mac. When i login into the Magento admin panel i get this error :
"One or more indexers are invalid. Make sure your Magento cron job is running."
After a bit of research i found that i need to run the following command from the root directory of my Magento installation.
bin/magento indexer:reindex
However i keep getting this message after running the command "Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html% "
My PHP version is 7.0.8 so i'm not sure why i am getting this error.
Thanks !