Re: How to Separate PHP Errors to a file different than Apache Errors

From: Date: Sat, 23 Dec 2006 05:28:46 +0000
Subject: Re: How to Separate PHP Errors to a file different than Apache Errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246165@lists.php.net to get a copy of this message
On 12/23/06, Shanon Swafford <listbox@swaffordfamily.com> wrote:
Hi Guys, I just cut my website over to Apache2 and PHP5 on FC5. So now I'm clean up all the PHP Notices. Does anybody know the config directives I can put in my /etc/php.ini or etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so that I could separate the php errors file from the apache errors file?
http://www.php.net/manual/en/ref.errorfunc.php Specifically 'error_log'. This will be commented out in a default php.ini file, search for it there, enable it and restart your webserver. Also the webserver user has to 'own' this file (as with it's other logs), so check permissions. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#246165) next »