Skip to content

Instantly share code, notes, and snippets.

@sanderson
Created February 22, 2018 15:19
Show Gist options
  • Save sanderson/7c02dc6c083221c7bf0be630d49a58ad to your computer and use it in GitHub Desktop.
Save sanderson/7c02dc6c083221c7bf0be630d49a58ad to your computer and use it in GitHub Desktop.
New Relic with the PHP engine
run.config:
engine: php
engine.config:
extensions:
- newrelic
extra_packages:
- newrelic
web.site:
start:
newrelic: newrelic-daemon -f -c /data/etc/newrelic.cfg
  1. Add the newrelic extension
  2. Add newrelic as an extra_package
  3. Add a newrelic start command newrelic-daemon -f -c /data/etc/newrelic.cfg
  4. Add a NEWRELIC_LICENSE evar to your app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment