Linux : newrelic.so: undefined symbol: php_end_ob_buffer after PHP upgrade

By | November 20, 2013

Getting this error for NewRelic module after PHP update from 5.3 to 5.4?

newrelic.so: undefined symbol: php_end_ob_buffer in Unknown on line 0

This mean the module is not compatible with your new PHP version. To resolve this matter, follow these easy steps.

Uninstall NewRelic completely :

yum remove newrelic-daemon newrelic-sysmond newrelic-php5 newrelic-php5-common

Then reinstall :

yum install newrelic-daemon newrelic-sysmond newrelic-php5 newrelic-php5-common

Start NewRelic :

/etc/init.d/newrelic-sysmond start

Reload Apache :

service httpd reload