hello everyone.
i would very much appreciate some help from all you php gurus out there.
i am trying to configure my php.ini file to modify the way in which my scripts show errors. when i change the display error values from on to off in my php.ini file and turn the server off and on etc display errors is still set to on as shown when i call phpinfo(). furthermore i have tried to set the php.ini file using ini_set() but it refuses to change the value. i've made sure i'm modifying the correct php.ini file using phpinfo().
even when i turn display errors off in mamp the errors still display!
has anybody encountered this problem and would anyone have any suggestions as to why i cannot change the values within my php.ini file?
thanks
baked_bean.
unable to change configuration of php.ini. can anyone help?
Moderator: General Moderators
-
baked_bean
- Forum Newbie
- Posts: 3
- Joined: Fri Sep 18, 2009 12:36 pm
Re: unable to change configuration of php.ini. can anyone help?
Did you restart Apache?
There are 10 types of people in this world, those who understand binary and those who don't
-
baked_bean
- Forum Newbie
- Posts: 3
- Joined: Fri Sep 18, 2009 12:36 pm
Re: unable to change configuration of php.ini. can anyone help?
yes i always restart apache after making any of the changes.
-
Mark Baker
- Forum Regular
- Posts: 710
- Joined: Thu Oct 30, 2008 6:24 pm
Re: unable to change configuration of php.ini. can anyone help?
Are you sure you've changed the right php.ini file. Sometimes you find there's several scattered around in different directories.
A quick phpinfo() will tell you the location of the ini file that php is actually using.
A quick phpinfo() will tell you the location of the ini file that php is actually using.
-
baked_bean
- Forum Newbie
- Posts: 3
- Joined: Fri Sep 18, 2009 12:36 pm
Re: unable to change configuration of php.ini. can anyone help?
yes i've checked on phpinfo() to make sure i am modifying the right php.ini file and it would certainly appear that i am.
very frustrating!!
very frustrating!!