php.ini setting

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
dwnthk
Forum Newbie
Posts: 13
Joined: Mon Oct 08, 2007 5:55 am

php.ini setting

Post 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.
alefort
Forum Newbie
Posts: 1
Joined: Fri Nov 09, 2007 7:56 am

Post by alefort »

What does your phpinfo(); say its value for display_errors is?

YOu might want to use

display_errors = 0

instead of 'Off'
Last edited by alefort on Fri Nov 09, 2007 9:37 am, edited 2 times in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The symptoms would suggest you are editing the wrong php.ini file.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

create a phpinfo() page

Post by yacahuma »

create a phpinfo() page and check which php.ini you are using
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You can also use the -i switch at the CLI (should work for Windows too):

Code: Select all

prompt> php -i
Post Reply