php locate php.ini code example Example: how to find php.ini php -i | grep "Loaded Configuration File"