httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] SuExec with Apache-2.0.48 PHP-4.3.4 (DSO) - problems changing UID
Date Sat, 07 Feb 2004 21:09:45 GMT

On Sat, 7 Feb 2004, testic wrote:
> As you can see from the subject I am trying to establish a system that uses
> suexec. I currently have PHP running as a DSO, which works fine, except now
> I am at the point where file permissions are emerging as an issue. So, first
> question: Looking at the Apache documentation for suexec, it describes it as
> a system to be used with CGI, as I am using PHP as a module rather than a
> CGI would use of suexec apply?

No.  One process can only have a single userid.  Since php as a module
runs in the same process as apache, it must use the apache userid.  To run
php with suexec, you must use cgi which forks new processes (possibly with
different userids) to handle requests.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message