We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0db9992 + 6bbe6aa commit b8c7cdcCopy full SHA for b8c7cdc
apache-run.sh
@@ -18,9 +18,10 @@ if [[ ${XDEBUG_ENABLED} == true ]]; then
18
fi
19
20
if [[ ${NR_ENABLED} == true ]]; then
21
- sudo sed -i -e "s/"REPLACE_WITH_REAL_KEY"/${NR_LICENSE_KEY}/g" /scripts/newrelic.ini
22
- sudo sed -i -e "s/PHP Application/${NR_APP_NAME}/g" /scripts/newrelic.ini
23
- sudo cp /scripts/newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini
+ sudo sed -i -e "s/"REPLACE_WITH_REAL_KEY"/${NR_LICENSE_KEY}/g" /usr/local/etc/php/conf.d/newrelic.ini
+ sudo sed -i -e "s/PHP Application/${NR_APP_NAME}/g" /usr/local/etc/php/conf.d/newrelic.ini
+else
24
+ echo "newrelic.enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini
25
26
27
if [[ ${SESSION_HANDLER} == true ]]; then
0 commit comments