André Medeiros wrote:
Either that, or
ini_set('display_errors', '1');
On 5/15/07, Jim Lucas <lists@xxxxxxxxx> 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
http://www.php.net/manual/en/ref.errorfunc.php#ini.display-errors
_Note:_ Although display_errors may be set at runtime (with ini_set()),
it won't have any affect if the script has _fatal errors_. This is
because the desired runtime action does not get executed.
Also, get out of the habit of quoting integer values.
ini_set('display_errors', 1); ini_set('display_errors', 0);
-
ini_set('display_errors', TRUE); ini_set('display_errors', FALSE);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php