You can configure New Relic to support multiple accounts per host. For example, you may be a service provider supporting multiple customers in a shared hosting environment.
Set a New Relic license key for each virtual host using newrelic.license.
php_value newrelic.license "NEW RELIC LICENSE KEY 1"
php_value newrelic.license "NEW RELIC LICENSE KEY 2"
Use newrelic_set_appname() to change the account during the current transaction.
Set this as early in the transaction process as possible; otherwise the transaction may already be locked into a prior configuration.
Note: newrelic_start_transaction() can also be used. This is not typical usage.