Last active
January 6, 2022 13:53
-
-
Save JaisonBrooks/490a66007559637c5b78 to your computer and use it in GitHub Desktop.
AWS Elastic beanstalk (PHP) config file for installing and setting up the NewRelic agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packages: | |
rpm: | |
newrelic: http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm | |
yum: | |
newrelic-php5: [] | |
newrelic-sysmond: [] | |
commands: | |
"01": | |
command: newrelic-install install | |
env: | |
NR_INSTALL_SILENT: true | |
NR_INSTALL_KEY: LICENSE_KEY | |
"02": | |
command: echo newrelic.appname="APP NAME" >> /etc/php.ini | |
"03": | |
command: nrsysmond-config --set license_key=LICENSE_KEY | |
"04": | |
command: /etc/init.d/newrelic-sysmond start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment