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.
A sample daemon configuration file was created during installation. To manually configure the daemon, copy and rename
/etc/newrelic/newrelic.cfg and edit the file. All settings are optional and most have default values.
The agent will not automatically start the daemon if it finds a
newrelic.cfg file in the