I\'m running PHP with MAMP on OSX 10.5.8
So if I want to run a script from console I always need to write
/applications/mamp/bin/php5.3/bin/php path/
vi ~/.bash_profile //add export PATH=/path/to/php/bin:$PATH source ~/.bash_profile