DataDog/chef-datadog

Uninstalling RPM leaves behind dynamic library symlinks

Closed this issue · 1 comments

If you uninstall the PHP tracer from a system, it'll leave behind its PHP dynamic library files, which causes constant warnings. Should the RPM uninstallation remove this?

PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/datadog-php/extensions/ddtrace-20131106.so' - /opt/datadog-php/extensions/ddtrace-20131106.so: cannot open shared object file: No such file or directory in Unknown on line 0

The two files it leaves behind are:

/etc/php-X.X.d/98-ddtrace.ini
/etc/php-X.X.d/99-ddtrace-custom.ini

98-ddtrace.ini contains extension=/opt/datadog-php/extensions/ddtrace-20131106.so, which is causing this warning.

I put this issue in the wrong repo, it was supposed to be in dd-trace-php. Sorry!