For checking of the .ini loaded via command line is
php --ini
If scan directory is mentioning the right path of additional loading directory path then there is nothing to do. You can use it as per your requirement.
If additional scan directory is empty then run the following are the command, you can apply on the command line
PHP_INI_SCAN_DIR=/usr/local/etc/php/7.1/conf.d
php --ini
If scan directory is mentioning the right path of additional loading directory path then there is nothing to do. You can use it as per your requirement.
If additional scan directory is empty then run the following are the command, you can apply on the command line
PHP_INI_SCAN_DIR=/usr/local/etc/php/7.1/conf.d
export PHP_INI_SCAN_DIR