use this command to find your php.ini file:

php-i | grep php.ini