Installing NewRelic into MAMP on Mac OS X

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!

4 thoughts on “Installing NewRelic into MAMP on Mac OS X

  1. 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 !

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>