Which php.ini config file loaded

PHP

How to determine which php.ini config file loaded ?

Just type:

# php -ini

 

phpinfo()
PHP Version => 5.5.9-1ubuntu4.16

System => Linux host 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64
Build Date => Apr 20 2016 14:28:36
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini

arstech

Leave a Reply