Re: Error capturing

From: Date: Wed, 04 Jun 2003 17:42:57 +0000
Subject: Re: Error capturing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150221@lists.php.net to get a copy of this message
On Wednesday 04 June 2003 18:16, Svein Larsen wrote: > Anybody got a good solution for capturing errors in php scripts? > I can catch the errors by logging them to a log file (log_errors in > php.ini) My problem is that i'm running a lot of sites on my server and i > need to know wich site generate the error and cant find any way to get this > in the log file. > I'm thinking og editing the php-source to get this done but i hope there is > a simpler solution. set_error_handler(), and maybe auto_prepend_file in php.ini -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* When a man is tired of London, he is tired of life. -- Samuel Johnson */

« previous php.general (#150221) next »