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

From: Date: Sun, 24 Dec 2006 13:30:55 +0000
Subject: Re: 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-246190@lists.php.net to get a copy of this message
Please preserve necessary context in your replies. *At least* the In-Reply-To: header with the correct message-id! # fahad.pervaiz@gmail.com / 2006-12-24 11:42:45 +0500: > First of all php errors are not logged in apache error log. PHP errors are > logged seperately. Notices, warnings and errors from at least mod_php get logged in the apache error log (all with log level "error") if you don't say otherwise. > if you want to custom define error log file for your apache errors you can > use virtualhost directive in apache httpd config file > > If you do not specify an ErrorLog directive within a > <VirtualHost> container, error messages relating to that virtual host will > be logged here. If you *do* define an error logfile for a > <VirtualHost> container, that host's errors will be logged there. This talks about the apache error log. Again, if you don't configure PHP otherwise (error_log in php.ini or php_value error_log in httpd.conf), it will log there. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#246190) next »