• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Proxy daemon (newrelic.cfg) settings

The daemon (newrelic-daemon) acts as a proxy between the PHP agent and the New Relic collector to reduce network traffic and to improve response time for instrumented applications. The daemon process starts when your system starts, and must be running for data to be sent to New Relic.

Beginning with version 3.0 of the PHP agent, the daemon can be automatically configured and started by the agent. Auto-configuration does not require the newrelic.cfg file. This is the recommended configuration.

However, there are still some cases where manually starting the daemon is useful. For more information about the startup process, see New Relic daemon startup modes.

Manual configuration

A sample daemon configuration file was created during installation. To manually configure the daemon, copy and rename newrelic.cfg.template from /etc/newrelic/newrelic.cfg.template to /etc/newrelic/newrelic.cfg and edit the file. All settings are optional and most have default values.

Important

The agent will not automatically start the daemon if it finds a newrelic.cfg file in the /etc/newrelic/ directory.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.