For the mac os shipped php5.5, i find there are two php.ini files, one is in /etc/php.ini, the other is in /usr/local/etc/php/5.5
I tried phpinfo(), it points to the one in /etc/php.ini However, when i use php --ini, it shows the one in the /usr/local/etc/php/5.5
I am getting confused, which is the one that being used for php init? what's the use of the other?