lighttpd forum lighty > PHP through FCGI and SUEXEC?

Posted by nieoficjalny (Guest)
on 20.12.2005 16:18
Hi,
I wish my php scripts would run through fastcgi as user who owns the 
script. I managed to get that to work in apache 1.3.x 
(fcgi->suexec->php, such setup needed seperate wrapper for each user -> 
hundreds users = hundreds wrappers), however I'm unable to do that in 
lighttpd. PHP through FCGI works like a charm, I just miss suexec 
feature. Did anyone succed doing that? If yes, then how? Is there any 
alternative to suexec mechanism, maybe binfmt would be the way to go, or 
some 3rd party PHP patch?
Thanks for any ideas,
regards
nieoficjalny
Posted by Ryan Schmidt
on 21.12.2005 10:55
Did you already read the page in the wiki?

http://trac.lighttpd.net/trac/wiki/SuEXEC
Posted by nieoficjalny (Guest)
on 26.12.2005 08:34
ryandesign wrote:
> Did you already read the page in the wiki?
> 
> http://trac.lighttpd.net/trac/wiki/SuEXEC

yes i did
i dont have static virtual hosts unfortunately, theyre kinda dynamic, 
and putting different php.sh into each user's homedir doesnt put smile 
on my face
i still have to stick to apache 1.3