I removed Xdebug and turned on a bunch of debug settings in the new_relic.ini file, but no log files appeared. I think it’s installing for the /usr version of PHP, but not the specific Mamp version of php. If you have questions or comments, go to. Load the agent’s new features and bug fixes. Set newrelic.appname in your newrelic.ini file. New Relic is now installed on your system.
#Mamp pro 3 install
Please consult the installation documentation to manually install New Relicįor this copy of PHP. Module directory : /usr/lib/php/extensions/no-debug-non-zts-20121212ĬLI ini directory : /Library/Server/Web/Config/phpĮRROR: could not determine the version of PHP located at: Applications/MAMP Pro/MAMP Pro.app/Contents/Resources/phpX.X.X.iniįurther to this I’ve found that I needed to disable Mac’s System Integrity Protection, the installation seemed to work, but it generates the following error. NOTE for MAMP PRO edit the php.ini file in this alternate location for this to run properly: If you open up MAMPs homepage in your browser and click the “phpinfo” tab, you should now see New Relic listed about halfway down in the alphabetical sections on the page. Now restart the apache using the “Stop servers” button in the MAMP application.Ħ). You can find more about the php.ini options below from our document on the issue:ĥ). Note that we catalog your app in our system by the application name, so changing it later will mean your historical data and your data collected under the new name will not live in the same graphs, so choose something you can use in the long term. You’ll want to change ‘’ to something more relevant to your app.
#Mamp pro 3 license key
Make sure to replace the license key placeholder with your license key. Open “/Applications/MAMP/bin/php/phpX.X.X/conf/php.ini” (remember, replace X.X.X with the version you found above) in your text editor of choice, then copy and paste the following into it. When prompted where to install, type “all” without quotes.Ĥ). Sudo NR_INSTALL_PATH=/Applications/MAMP/bin/php/phpX.X.X/bin. cd into the resulting directory and issue this command, replacing “X.X.X” with the version you identified in step #1: This shows the directory we’ll need for the next step.ģ). Find the row labeled “Configuration File (php.ini) Path”. Click the “phpinfo” tab and it will tell you the version of PHP used by MAMP. Using the MAMP application, click the “Open start page” button, which will take you to the “Welcome to MAMP” page in a browser. This will be the current version and should look like 'newrelic-php5-X.Y.Z.Ģ). If you are still having trouble the below set of instructions may be useful.ġ). This will provide you with copy/paste command line instructions.
#Mamp pro 3 manual
The simplest way to install the PHP Agent in a MAMP stack is through our Manual installation script.