Forum Moderators: phranque
This will tell you where the file is, perhaps in /etc/php.ini
Now to edit it, try
emacs /etc/php.ini
or
pico /etc/php.ini
or
vi /etc/php.ini
I use vi but it can be tricky to get used to (hint: hit "i" if you want to type, Esc : w to save and Esc : q to quit.)