No data appears (PHP)

Problem

After installing the New Relic PHP agent, generating some traffic, and waiting at least five minutes, no data appears in your New Relic UI.

Solution

If no data appears after you generate traffic to your app and wait at least five minutes, use New Relic Diagnostics to automatically detect common problems and suggest troubleshooting. If that does not solve the problem, try the following:

PHP agent troubleshooting Comments
Compatibility Make sure your system meets the PHP agent's compatibility and requirements.
Non-standard PHP version If you are using a non-standard version of PHP, follow the advanced installation procedures to make sure the default installer can find your version of PHP.
App name Make sure your apps have a descriptive, unique name. For example, if you have multiple apps with the same name, such as the default app name PHP Application, data from each of these apps rolls up into the default app name, and it may appear as if an individual app is not reporting.
Web server Restart your web server (Apache, Nginx, PHP-FPM, etc.), and wait a few minutes for data to appear.
phpinfo() Check phpinfo() to verify that you installed the PHP agent and that the license key in it is correct.
SELinux If your system uses SELinux, configure SELinux to work with the PHP agent.
Log files
  1. Verify that both the agent and the daemon are writing to their log files.
  2. If not, reinstall the agent.
  3. Verify the log file permissions to make sure the log owner is the same as the New Relic user.
PHP agent permissions Make sure you have the correct permissions to use the PHP agent.
Other

If none of these solutions solve the problem, see the troubleshooting procedures for:

For more help

Recommendations for learning more: