Where is my php.ini?

A new and easy trick to find your php.ini would be to ask php itself what it’s using, eg: /usr/local/bin/php -i | grep ‘Loaded Configuration File’ which does assume that the php output will be in English. If you’re running the default version of CLI php, your php.ini will be located at: /usr/local/lib/php.ini If you’re …