Page 1 of 1

php.ini setting

Posted: Thu Nov 08, 2007 10:11 pm
by dwnthk
Hi there,

I've set the display_errors = Off in the php.ini ; however, it keeps showing me the error on the pages. I've restart the apache service and even the computer. But still fail to hide the message.

Is there any thing I need to do so the php setting will be done?


Thanks.

Posted: Fri Nov 09, 2007 9:30 am
by alefort
What does your phpinfo(); say its value for display_errors is?

YOu might want to use

display_errors = 0

instead of 'Off'

Posted: Fri Nov 09, 2007 9:31 am
by feyd
The symptoms would suggest you are editing the wrong php.ini file.

create a phpinfo() page

Posted: Tue Dec 04, 2007 3:58 am
by yacahuma
create a phpinfo() page and check which php.ini you are using

Posted: Tue Dec 04, 2007 12:16 pm
by RobertGonzalez
You can also use the -i switch at the CLI (should work for Windows too):

Code: Select all

prompt> php -i