Easy as pie if you know how to do it :)
- Download the New Relic installer files (as a .tar.gz package)
- Find out your MAMP PHP path (mine was /Applications/MAMP/bin/php/php5.3.6/bin)
- Go to your unpacked new relic installer files and execute
sudo NR_INSTALL_PHPLIST='<your mamp php path>' ./newrelic-install
- Follow the instructions in the installer (don’t forget to edit your php.ini, the installer gives you instructions on what to add)
And voilá, worked like a charm :)
PS: New Relic is kind of awesome!