{"id":1715,"date":"2023-01-04T15:16:58","date_gmt":"2023-01-04T15:16:58","guid":{"rendered":"https:\/\/blog.hostinger.io\/fr\/support\/2023\/01\/04\/6868041-comment-configurer-new-relic-chez-hostinger\/"},"modified":"2025-08-26T21:06:29","modified_gmt":"2025-08-26T21:06:29","slug":"6868041-comment-configurer-new-relic-chez-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/fr\/support\/6868041-comment-configurer-new-relic-chez-hostinger\/","title":{"rendered":"Comment Configurer New Relic Chez Hostinger"},"content":{"rendered":"<p class=\"no-margin\">New Relic est un puissant outil Web qui vous permet de faire le suivi de vos applications Web et vos microservices ainsi que d&rsquo;autres composants, le tout en un seul endroit. Il fournit &eacute;galement des informations pr&eacute;cieuses sur <b>les performances en temps r&eacute;el<\/b>. Vous pouvez tout savoir ici : <b><a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-new-relic\" target=\"_blank\" class=\"intercom-content-link\">Qu&rsquo;est-ce que New Relic et &agrave; quoi peut-il servir ?<\/a><\/b><\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Si vous &ecirc;tes pr&ecirc;t &agrave; commencer &agrave; utiliser New Relic, suivez simplement ces &eacute;tapes :<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_7ee94dbb27\">&Eacute;tape 1 &ndash; Pr&eacute;paration<\/h2><p class=\"no-margin\">Tout d&rsquo;abord, assurez-vous que :<\/p><ul>\n<li>\n<p class=\"no-margin\">Vous avez <b>cr&eacute;&eacute; un compte<\/b> sur <b><a href=\"https:\/\/newrelic.com\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">New Relic<\/a><\/b> et disposez d&rsquo;un <b>forfait gratuit ou payant<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Vous avez g&eacute;n&eacute;r&eacute; une cl&eacute; API <b>INGEST &ndash; LICENSE<\/b><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">\n<\/p><h2 id=\"h_2730d9e289\">&Eacute;tape 2 &ndash; Activer l&rsquo;extension PHP<\/h2><p class=\"no-margin\">Allez dans <b><a href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Sites Web<\/a><\/b> &rarr; <b>G&eacute;rer<\/b> sur votre hPanel, recherchez <b>Configuration<\/b> <b>PHP <\/b>dans la barre lat&eacute;rale et cliquez dessus :<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2023\/01\/e84e7044-c8ed-4010-a17c-0bf0558afe5f.jpg\"><\/div><p class=\"no-margin\">Ensuite, cliquez sur l&rsquo;onglet <b>PHP Extensions<\/b>, faites d&eacute;filer vers le bas pour trouver <b>newrelic<\/b> et cliquez sur la case &agrave; cocher pour l&rsquo;activer :<br>&#8203;<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2023\/01\/e782bfa8-0f62-42b5-8042-547afcfb0a08.jpg\"><\/div><p class=\"no-margin\">Cliquez sur <b>Sauvegarder <\/b>pour appliquer le changement, et il sera actif dans quelques minutes.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_323f5b7c20\">&Eacute;tape 3 &ndash; Modifier le fichier .htaccess<\/h2><p class=\"no-margin\">Maintenant que vous avez activ&eacute; l&rsquo;extension PHP New Relic, ajoutez les lignes suivantes &agrave; votre <b><a href=\"\/fr\/support\/1583307-comment-creer-un-fichier-htaccess\" target=\"_blank\" class=\"intercom-content-link\">fichier .htaccess<\/a><\/b> :<\/p><pre><code>php_value newrelic.license \"license\"<br>php_value newrelic.appname \"test_app\"<\/code><\/pre><p class=\"no-margin\">Assurez-vous de remplacer <code>license<\/code> par la valeur de votre cl&eacute; New Relic <b>INGEST &ndash; LICENSE<\/b>, et <code>test_app<\/code> par le nom de votre <b><a href=\"https:\/\/docs.newrelic.com\/docs\/apm\/agents\/php-agent\/configuration\/name-your-php-application\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">application PHP<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">C&rsquo;est tout ! Vous pourrez consulter imm&eacute;diatement les rapports de performances en vous connectant au tableau de bord de votre compte New Relic &#128522;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>Ressources additionnelles:<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/docs.newrelic.com\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Documentation sur New Relic<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Activation du suivi New Relic pour vos applications Web<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[207],"tags":[],"class_list":["post-1715","post","type-post","status-publish","format-standard","hentry","category-extensions-et-options-php"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/6868041-how-to-set-up-new-relic-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/6868041-como-configurar-new-relic-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/6868041-comment-configurer-new-relic-chez-hostinger\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/6868041-kaip-prie-hostinger-prijungti-new-relic\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/6868041-como-configurar-new-relic-en-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/1715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/comments?post=1715"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/1715\/revisions"}],"predecessor-version":[{"id":2895,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/1715\/revisions\/2895"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/media?parent=1715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/categories?post=1715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/tags?post=1715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}