In /var/log/newrelic/php_agent.log
on my servers I see lines like this:
2013-08-30 16:05:01.444 (15615/child) warning: the Xdebug extension prevents the New Relic agent from gathering errors. No errors will be recorded.
Yet, I still see [at least some] PHP errors in New Relic. What's going on? Is this warning a bug in New Relic?
I also found this which says:
If you are using xdebug, you will have a warning about this. So you could turn off Xdebug , or write your own handler and call New Relic API to allow errors report into New Relic properly. See the comments of Kris Weltz for more information.
The words "Kris Weltz" link to a missing document.
Here's what I've got installed:
# rpm -qa | grep relic
newrelic-php5-common-3.7.5.7-1.noarch
newrelic-php5-3.7.5.7-1.x86_64
newrelic-repo-5-3.noarch
newrelic-daemon-3.7.5.7-1.x86_64
newrelic-sysmond-1.2.0.257-1.x86_64