SV: [PHP4BETA] Logging UID

From: Date: Sun, 05 Dec 1999 21:17:29 +0000
Subject: SV: [PHP4BETA] Logging UID
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7465@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. But how does mod_ssl do it? It uses a separate logfile and logs as root. Why can't mod_php do it the same way? /Johan Ekenberg

« previous php.version4 (#7465) next »