• /
  • Log in
  • Free account

Agent stops working after updating PHP

Problem

You updated PHP to a supported release version, but the PHP agent stopped working or reporting.

Solution

If you update your PHP installation to another major release version (for example, 5.3 to 5.4), you must reinstall the PHP agent. Updating PHP to minor release versions does not require reinstalling the agent.

To reinstall the agent, follow the installation instructions for your platform, or use the newrelic-install install command to start the newrelic-install script.

If you are using a package manager (for example, apt-get upgrade) to update PHP without specifying packages, you may also be upgrading the New Relic PHP agent in the process. To ensure the upgrade is applied successfully:

  1. Restart your web server (Apache, Nginx, PHP-FPM, etc.).
  2. Wait five minutes to see if the agent starts reporting.
  3. If the agent is still not reporting, verify the daemon setup. If it is set to start in external mode, you must manually start the daemon for the agent to start reporting.

For more help

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

Create issueEdit page
Copyright © 2021 New Relic Inc.