Re: posix_getuid() Says Apache Running as root

From: Date: Tue, 05 Dec 2000 17:58:59 +0000
Subject: Re: posix_getuid() Says Apache Running as root
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28732@lists.php.net to get a copy of this message
On Tuesday 05 December 2000 12:01, Tim Evans wrote: > I have a strange situation with a Cobalt RAQ4i, running Cobalt-stock > Apache 1.3.12, PHP 4.0.3pl1, MySQL 3.22.30, horde 1.2.3, and IMP 2.2.3. > > In debugging problems with horde/IMP, we've discovered posix_getuid() > claims Apache is running as root. In fact, Apache is configured to > run as a user 'httpd' > > Has anyone seen this behavior? Resolved it? > Only the pool of child processes that handle http requests run under the user and group specified in httpd.conf. The initial httpd process runs as root and spawns the worker httpds. My understanding is the httpd running as root is not listening on any port and is not serving requests - only the its children are. I can see this behavior on my machine. > thanks. > -- > Tim Evans, T. Rowe Price Investment Technologies (tkevans@troweprice.com) > 11550 Cronridge Drive, Owings Mills, MD 21117 > (410) 345-3174; (800) 946-4646, PIN #1716638 (Pager); (410) 345-3030 (Fax) -- -------- Robert B. Easter reaster@comptechnews.com --------- - CompTechNews Message Board http://www.comptechnews.com/ - - CompTechServ Tech Services http://www.comptechserv.com/ - ---------- http://www.comptechnews.com/~reaster/ ------------

« previous php.general (#28732) next »