Easy as pie if you know how to do it (actually this works for installing NewRelic anywhere that is not a standard Apache/PHP path) :)
- 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!
Thanks for this information – it helped me set up my local hosting!
Hello, thank you for your help ! But I have a little problem, I’m French and I have some difficulties to understand how I must modify my php.ini file ! Can you explain me ? I see that there is a newrelic.ini.template file i should use, but that’s all..
Thank you in advance !
Hi Thomas. You should take a look at the php setup guide on NewRelic.com, they explain configuration rather well :)
Thank you, now it works fine for me :)