I'm running Magento 2 on MAMP Pro local dev server (mac osx). I have site installed and running fine.
If I try to run following command in site root in terminal,
php bin/magento indexer:reindex I get following message:
Magento supports PHP 5.5.0 or later. Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html
How do I fix this?