I always forget where my php.ini
file is and which one is configured. Use the following command to find it:
php -i | grep php.ini
# Output
Configuration File (php.ini) Path => /usr/local/etc/php/7.4
Loaded Configuration File => /usr/local/etc/php/7.4/php.ini