In my php ini I have display_error = off
In my code I use ini_set('display_errors','1');
I never get the error messages.
When I edit my php ini and set display_error = on I get error messages.
Why doesn't ini_set('display_errors','1'); work?
Are there any known bugs in using the ini_set?
I've seen similar problems from others with no answer.
Thanks for any info.
Error reporting
Moderator: General Moderators
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
In your code try:
Code: Select all
error_reporting(E_ALL);-
coldlamper
- Forum Newbie
- Posts: 2
- Joined: Tue Aug 24, 2004 1:44 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
setting it via .htaccess (or whatever you have for directory level settings)
http://talks.php.net/show/debugging/2 for the php_value setting...
http://talks.php.net/show/debugging/2 for the php_value setting...