Find the PHP command-line configuration

July 6, 2021 . 1 MIN READ

To display the PHP command-line configuration, enter

php -i | grep php.ini

A sample result follows:

Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini

Leave a Reply

Your email address will not be published. Required fields are marked *