To find which php.ini
the CLI is using you can run:
php -i | grep 'php.ini'
Example output:
$ php -i | grep 'php.ini'
Configuration File (php.ini) Path => /etc/php/7.0/cli
Loaded Configuration File => /etc/php/7.0/cli/php.ini
Facebook Comments