• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Why and when to restart your web server (PHP)

Problem

You are unsure why or when you must restart your web server (Apache, PHP-FPM, Nginx, etc.) after:

Cause

The PHP agent is a PHP extension. When your web server starts up and loads PHP, it also loads the PHP agent and parses its newrelic.ini configuration file. The web server uses that configuration until told to re-load and parse configuration files again. Restarting prompts the web server to do that.

You must restart your web server when:

Copyright © 2024 New Relic Inc.

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