Find php.ini php --ini 1 php --ini Reference: https://stackoverflow.com/questions/2750580/how-to-find-the-php-ini-file-used-by-the-command-line