[imp] nicer error handling for database connections?

Jon Parise jon@csh.rit.edu
Thu, 2 Nov 2000 15:17:22 -0500


On Thu, Nov 02, 2000 at 03:52:12PM -0300, Martin A. Marques wrote:

> > Anyway, to address your point, you should probably turn down your
> > error reporting level in config/defaults.php3 if this is a
> > production installation.  There's also an option in php.ini to log
> > warnings and errors to a file as opposed to echoing them to the
> > user.
> 
> Never got this option to work. I tried to make PHP log to a file,
> but no luck at all. I really don't know what it's doing with the
> logs.
 
Remember that the logs will probably be written as 'nobody'.  You
might have stumbled on permission issues.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member