• EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Te ofrecemos esta traducción automática para facilitar la lectura.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

Crea una propuesta

Multiples cuentas

Puede configurar New Relic para admitir múltiples cuentas por host. Por ejemplo, puede ser un proveedor de servicios que brinda soporte a varios clientes en un entorno de alojamiento compartido.

Establecer por host virtual

Establezca una New Relic para cada host virtual usando newrelic.license.

Por ejemplo, con Apache:

<VirtualHost 192.168.42.43>
ServerName www.myvhost1.com
DocumentRoot "/path/to/vhost1/"
...
<IfModule php5_module>
php_value newrelic.license "NEW RELIC LICENSE KEY 1"
</IfModule>
</VirtualHost>
<VirtualHost 192.168.123.45>
ServerName www.myvhost2.com
DocumentRoot "/path/to/vhost2/"
...
<IfModule php5_module>
php_value newrelic.license "NEW RELIC LICENSE KEY 2"
</IfModule>
</VirtualHost>

Configurar con la API

Utilice newrelic_set_appname() para cambiar la cuenta durante la transacción actual.

Por ejemplo:

newrelic_set_appname("APP NAME", "NEW RELIC LICENSE KEY");

Establezca esto lo más temprano posible en el proceso de transacción; de lo contrario, es posible que la transacción ya esté bloqueada en una configuración anterior.

Note: newrelic_start_transaction() también puede ser usado. Este no es un uso típico.

Copyright © 2024 New Relic Inc.

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