There are a few ways to locate
php.ini file by command line on Linux Ubuntu, Linux Mint, and other Linux distributions. Some of the options showed here are also compatible with Windows, specially usin WSL.
What is php.ini#
php.ini file is the configuration file that is read when PHP starts up. For the server module...