1/27 I've enabled suexec and ExecCGI in my apache2. I created a simple
CGI that when `whoami` is executed, claims as me instead of
www-data|http. Great. However, when I tried the same thing in
php, it no longer executes as me. Why is that?
\_ mod_php 'executed' stuff is run as the webserver uid
\_ You'd have to run PHP under CGI to get this to work, and then it
would be as slow as any other CGI stuff. You can run it under
FastCGI, but then you'd have to have one FastCGI setup per user,
as I understand it. |