I'm on Mac OS X Mojave Step 1 I ran php -i | grep php.ini I got Configuration File (php.ini) Path => /usr/local/php5/lib Loaded Configuration File =
After upgrading Ubuntu from 14.04 to 16.04, PHP CLI started complaining about xdebug: $ php -v Cannot load Xdebug - it was already loaded PHP 7.0.13-0ubuntu0.1