19 lines
612 B
Markdown
19 lines
612 B
Markdown
---
|
|
title: Howto New Relic
|
|
---
|
|
|
|
# Installer l'agent PHP
|
|
|
|
Doc officielle : <https://docs.newrelic.com/docs/agents/php-agent>
|
|
|
|
```
|
|
# echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' > /etc/apt/sources.list.d/newrelic.list
|
|
# wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add -
|
|
# apt update
|
|
# apt install newrelic-php5
|
|
# newrelic-install install
|
|
# rm /etc/php5/mods-available/newrelic.ini /etc/php5/conf.d/newrelic.ini
|
|
# systemctl restart apache2
|
|
```
|
|
|
|
Debconf vous demandera la clé de license à mettre. On pourra aussi la mettre à la main dans `/etc/php5/mods-available/newrelic.ini`. |