the command to find out which or where you ini.php file is located:
$ php --ini
output:
$ php --ini
Configuration File (php.ini) Path:
Loaded Configuration File: G:\xampp8\php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)