Quickest way to find active php.ini
![Quickest way to find active php.ini](/content/images/size/w2000/2018/04/quick-way-to-find-active-php-ini-file.jpg)
How to quickly find active php.ini file?
You're administering a system you're not familir with (?) and need to quikly know the location of the active `php.ini` file.
Simply run from command line:
php -ini
The above will out put the location of the active php -ini file, along will all other config files php is including.
To just show the php.ini file run:
php -ini|grep 'php.ini'