I think you have loaded Xdebug probably twice in php.ini.
-
check the
php.ini, that not have setxdebug.sofor the valuesextension=andzend_extension=. -
Check also
/etc/php5/apache2and/etc/php5/cli/. You should not load in eachphp.iniin these directories the extensionxdebug.so. Only one file,php.inishould load it.Note: Inside the path is the string
/etc/php5. The 5 is the version of PHP. So if you use another version, you always get a different path, likephp7.