Page 1 of 1

Changing php.ini file confusion

Posted: Fri Jan 16, 2009 1:57 am
by transistor
Hello everyone.
When I check phpinfo() on my web browser, I find the php.ini file here: /usr/local/php5/lib/php.ini
That's just fine, it works.
But if I type on the terminal: php --ini, I get a different one.
I believe that the two PHPs (web and terminal, to name them somehow) are different ones, using different php.ini, or something... sorry, he.
How can I get the two to work with the same php.ini file?