Changing php.ini file confusion

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
transistor
Forum Newbie
Posts: 1
Joined: Fri Jan 16, 2009 1:42 am

Changing php.ini file confusion

Post 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?
Post Reply