I have MAMP installed. Now I am trying to run a script from the command line, but I can\'t seem to get it to work.
How should I set up my environment so that I can r
Run this in your Terminal:
export PATH=/Applications/MAMP/bin/php5/bin/:$PATH
Should do the trick. It will - as Tom Haigh mentioned - add the MAMP PHP executable to the path so you can use "php" instead of the full path.