---
title: No data appears (PHP)
source: https://docs.newrelic.com/docs/apm/agents/php-agent/troubleshooting/no-data-appears-php
---

## Problem

After [installing the New Relic PHP agent](https://docs.newrelic.com/docs/agents/php-agent/installation/php-agent-installation-overview), 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](https://docs.newrelic.com/docs/agents/manage-apm-agents/troubleshooting/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](https://docs.newrelic.com/docs/agents/php-agent/getting-started/php-agent-compatibility-requirements).                                                                                                                                                                                                                               |
| Non-standard PHP version  | If you are using a non-standard version of PHP, follow the [advanced installation procedures](https://docs.newrelic.com/docs/php/php-agent-installation-non-standard-php) to make sure the default installer can find your version of PHP.                                                                                                                                                                        |
| App name                  | Make sure your apps have a [descriptive, unique name.](https://docs.newrelic.com/docs/agents/manage-apm-agents/app-naming/name-your-application#app-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](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/using-phpinfo-verify-php) and that the license key in it is correct.                                                                                                                                                                                                               |
| SELinux                   | If your system uses SELinux, [configure SELinux](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/data-stops-reporting-while-using-selinux#solution) to work with the PHP agent.                                                                                                                                                                                                                   |
| Log files                 | - Verify that both the agent and the daemon are [writing to their log files](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/generating-logs-troubleshooting-php). - If not, [reinstall the agent](https://docs.newrelic.com/docs/agents/php-agent/installation/php-agent-installation-overview). - 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](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/determining-permissions-requirements) to use the PHP agent.                                                                                                                                                                                                                                          |
| Other                     | If none of these solutions solve the problem, see the troubleshooting procedures for: - [Agent stops after you update PHP](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/agent-stops-working-after-updating-php) - [After previously reporting data, the PHP agent stops reporting](https://docs.newrelic.com/docs/agents/php-agent/troubleshooting/data-stops-reporting)                       |
