Once you’ve installed the PHP agent, you should see data reporting within a few minutes. If you’re having trouble, these are the steps that our support teams take to troubleshoot, and we hope they will help you find and resolve the issue quickly.
Confirm the app is receiving traffic, has been for at least 5 min, and continues to receive traffic during troubleshooting.
Run the Diagnostics CLI to collect data then validate the following…
- Confirm PHP version & OS is supported.
- Confirm root access for installation.
- Verify the
newrelic.inifile is read by checking
- Verify if the agent is loaded by checking the phpinfo() page. Note that
phpinfo()can be related to the Web Interface as well as CLI Interface.
- Verify two
newrelic-daemonprocesses are running.
- Check for High Security Mode configuration mismatches.
Check for Non-Standard PHP. PHP that is self-compiled or used as part of a hosting service might not be found by our installer. Use advanced installation steps for this scenario.
SELinuxis enabled as it might interfere with the agent -> daemon communication. Configure SELinux to work with the agent.
phpinfo()and confirm the
license_keydisplayed there matches the expected account license key.
newrelic.sois installed correctly and visible in the
phpinfo()page. If not, follow this procedure.
If using Apache Threaded MPM Workers look into using supported alternatives as outlined in this document.
Check the log files are generated in
/var/log/newrelic/*, if not follow the suggested solutions from this document based on what you see in the logs.
If you are still unable to resolve the issue please reach out to New Relic Global Technical Support by going to support.newrelic.com. Please be sure to mention, in as much detail as possible, the steps you have tried already and details of what you expect to see and what you are seeing.