• /
  • Log in
  • Free account

Why and when to restart your web server (PHP)


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


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:

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.