On Fri, 01 Oct 2004 12:13:18 -0400, Al <[EMAIL PROTECTED]> wrote:
> What's puzzling is that I can simply comment out the error_reporting line and
> the code runs fine.
> 
> Also, the Apache error log doesn't show any errors. with or without the
> error_reporting.

Make sure you have

log_errors = On

in your php.ini.

> Is error_reporting() all that is necessary, or must I also have a error_log()
> statement?

To see the errors on screen you need

display_errors = On

> The manual is not clear on this point.
> 
> Also, must I have a an existing error file for the errors to append to?

No, the web server error log is where they shoudl appear.



-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to