如何找到php.ini的位置

[root@hk4 ~]# php -i | grep 'Configuration File'
Configuration File (php.ini) Path => /usr/local/etc/php5/cgi
Loaded Configuration File => /usr/local/etc/php5/cgi/php.ini

Leave a Reply