Path of php.ini file in XAMPP windows
usualy the path of php.ini file will be in the following path C:\xampp\php\php.ini or you can use phpinfo() function. use echo phpinfo() this will display ini path Configuration File (php.ini) Path =C:\xampp\php\php.ini