How can I find the php.ini file used by the command line?
Just run php –ini and look for Loaded Configuration File in the output for the location of php.ini used by your CLI.
Just run php –ini and look for Loaded Configuration File in the output for the location of php.ini used by your CLI.