how to locate php.ini code example
Example 1: how to find php.ini
php -i | grep "Loaded Configuration File"
Example 2: get php ini config from terminal
php -i | grep 'my_value'
php -i | grep "Loaded Configuration File"
php -i | grep 'my_value'