Any magento command I try returns the following error:
Content-type: text/html bin/magento must be run as a CLI applicationbash-3.2$
Here's my PHP info:
PHP 5.4.42 (cgi-fcgi) (built: Jun 16 2015 14:54:07)
I'm new to web development so I'm probably missing something but I just can't figure out how to fix this. How do I change my PHP from cgi to cli? Any suggestions will be greatly appreciated.
Solved! Go to Solution.
upgrade you PHP >= 5.6 or higher. Check below for more detail.