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.
1 parent bf2644f commit 6bbe6aaCopy full SHA for 6bbe6aa
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