Re: error_reporting(E_ALL) doesn't show anything
| From: | André Medeiros | Date: | Tue, 15 May 2007 21:25:14 +0000 |
| Subject: | Re: error_reporting(E_ALL) doesn't show anything | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255000@lists.php.net to get a copy of this message | ||
Either that, or
ini_set('display_errors', '1');
On 5/15/07, Jim Lucas <lists@cmsws.com> wrote:
Afan Pasalic wrote:
hi,
in php.ini is error_reporting turned off. and, to see an error have to
open error_log.
though, for me is much easier to have it on and see the errors on the
screen. while developing, of course.
I put on the beginning of the file error_reporting(E_ALL) to "overwrite"
php.ini but it doesn't work. still can't see anything.
what am I doing wrong?
thanks.
-afan
make sure you have
display_error = On
either in your php.ini
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Unknown
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php