Re: [PHP4BETA] Logging UID

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] Logging UID
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7464@lists.php.net to get a copy of this message
> Excuse me for asking twice, but I'm interested in knowing if it's a > conscious decision to have mod_php write log messages as nobody (i.e the uid > of Apache). > > mod_ssl does its logging as root, so does Apache itself. IMHO this is a > better solution. Please tell me your opinion on this! Has this been > discussed before? It is very different. Apache opens up its log file in in the parent root process before forking the child httpd processes. If you want PHP to log as root, don't use a separate php log file. Have it log to the Apache log file. -Rasmus

« previous php.version4 (#7464) next »