Display PHP Info php -i Path to php.ini Look for this line: Configuration File (php.ini) Path => /etc/php/7.4/cli