php.ini的位置在哪里?
查看 php -i 的结果。
$ php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/etc/php/5.3
Loaded Configuration File => /usr/local/etc/php/5.3/php.ini
查看 php -i 的结果。
$ php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/etc/php/5.3
Loaded Configuration File => /usr/local/etc/php/5.3/php.ini