php - New Relic warning: the Xdebug extension prevents the New Relic agent from gathering errors. No errors will be recorded -


in /var/log/newrelic/php_agent.log on servers see lines this:

2013-08-30 16:05:01.444 (15615/child) warning: xdebug extension prevents new relic agent gathering errors. no errors recorded.

yet, still see [at least some] php errors in new relic. what's going on? warning bug in new relic?

i found this says:

if using xdebug, have warning this. turn off xdebug , or write own handler , call new relic api allow errors report new relic properly. see comments of kris weltz more information.

the words "kris weltz" link a missing document.

here's 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 

i got new relic support.

their response xdebug indeed conflicts new relic, , should not used simultaneously. uninstalling xdebug php extension made warning go away.

it may possible disable stack traces in xdebug , continue use other xdebug features, new relic support didn't comment on this.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -