Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-20 Thread Joris
Arkadiusz Miskiewicz wrote: Dnia Friday 19 of March 2004 20:48, Mirco 'meebey' Bauer napisał: migrating from mod to cgi is good as in security, but performance and also problems with some scripts. Could you also test fastcgi? cgi and fastcgi are different beasts. I assume turckcache is turcksoft m

Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-19 Thread Joris
Arkadiusz Miskiewicz wrote: Dnia Friday 19 of March 2004 20:48, Mirco 'meebey' Bauer napisał: migrating from mod to cgi is good as in security, but performance and also problems with some scripts. Could you also test fastcgi? cgi and fastcgi are different beasts. I assume turckcache is turcksoft

Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 20:48, Mirco 'meebey' Bauer napisał: > migrating from mod to cgi is good as in security, but performance and > also problems with some scripts. Could you also test fastcgi? cgi and fastcgi are different beasts. > Mirco 'meebey' Bauer -- Arkadiusz Miśkiewicz CS a

Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-19 Thread Mirco 'meebey' Bauer
Hi, On Fri, 2004-03-19 at 06:42, Joris wrote: > Hi, > > > I'm looking for some in-depth information on the speed difference > between mod_php and using php-cgi with fastcgi. > > So far a google search has yielded nothing but unbacked statements (I'll > clean up the language a bit): "mod_php i

Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 20:48, Mirco 'meebey' Bauer napisał: > migrating from mod to cgi is good as in security, but performance and > also problems with some scripts. Could you also test fastcgi? cgi and fastcgi are different beasts. > Mirco 'meebey' Bauer -- Arkadiusz Miśkiewicz CS a

Re: mod_php vs fastcgi/php speed [BENCHMARK]

2004-03-19 Thread Mirco 'meebey' Bauer
Hi, On Fri, 2004-03-19 at 06:42, Joris wrote: > Hi, > > > I'm looking for some in-depth information on the speed difference > between mod_php and using php-cgi with fastcgi. > > So far a google search has yielded nothing but unbacked statements (I'll > clean up the language a bit): "mod_php i

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Adam ENDRODI
On Fri, Mar 19, 2004 at 04:22:27PM +0100, Arkadiusz Miskiewicz wrote: > > Right now running apache and having multiple virtual hosts for multiple > clients is not secure. Each client can look into others *.php, *.inc files, > read for example database passwords from these files etc. suexec is m

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 14:32, Shri Shrikumar napisał: > * How difficult is it to do? (est Man hours would be useful too) I'm not familiar with apache internals, so I can't say but MPM's are written in modular way so it does not need to rewrite whole apache. You would have to fix/rewrite on

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Adam ENDRODI
On Fri, Mar 19, 2004 at 04:22:27PM +0100, Arkadiusz Miskiewicz wrote: > > Right now running apache and having multiple virtual hosts for multiple > clients is not secure. Each client can look into others *.php, *.inc files, > read for example database passwords from these files etc. suexec is m

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Joris
Shri Shrikumar wrote: On Fri, 2004-03-19 at 08:11, Arkadiusz Miskiewicz wrote: The interesting thing is that no one works on fixing perchild MPM in apache2 that would allow to use standard mod_php in secure way :/ It would be great if someone get paid to fix that once for all. I wonder if you cou

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Shri Shrikumar
On Fri, 2004-03-19 at 08:11, Arkadiusz Miskiewicz wrote: > The interesting thing is that no one works on fixing perchild MPM in apache2 > that would allow to use standard mod_php in secure way :/ > > It would be great if someone get paid to fix that once for all. Hi, I wonder if you could fill

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 14:32, Shri Shrikumar napisał: > * How difficult is it to do? (est Man hours would be useful too) I'm not familiar with apache internals, so I can't say but MPM's are written in modular way so it does not need to rewrite whole apache. You would have to fix/rewrite on

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Joris
Shri Shrikumar wrote: On Fri, 2004-03-19 at 08:11, Arkadiusz Miskiewicz wrote: The interesting thing is that no one works on fixing perchild MPM in apache2 that would allow to use standard mod_php in secure way :/ It would be great if someone get paid to fix that once for all. I wonder if you co

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Shri Shrikumar
On Fri, 2004-03-19 at 08:11, Arkadiusz Miskiewicz wrote: > The interesting thing is that no one works on fixing perchild MPM in apache2 > that would allow to use standard mod_php in secure way :/ > > It would be great if someone get paid to fix that once for all. Hi, I wonder if you could fill

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Russell Coker
On Fri, 19 Mar 2004 22:05, Joris <[EMAIL PROTECTED]> wrote: > > The interesting thing is that no one works on fixing perchild MPM in > > apache2 that would allow to use standard mod_php in secure way :/ > > Is that the mode where the clients run with a different uid for each > virtual host? Yes.

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Joris
Arkadiusz Miskiewicz wrote: Dnia Friday 19 of March 2004 06:42, Joris napisał: So far a google search has yielded nothing but unbacked statements (I'll clean up the language a bit): "mod_php is a lot fast er than php-cgi", and "fastcgi/php is a lot faster than mod_php". Not very usefull. For me it

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 11:24, Adam ENDRODI napisał: > Privilege separation and fastcgi is not trivial to solve. You must > specify a different interpreter for each user. Huh? Why different interpreter? http://www.t17.ds.pwr.wroc.pl/~misiek/index.php/ApacheModFastcgiPHP > Authorization and f

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Adam ENDRODI
On Fri, Mar 19, 2004 at 06:42:08AM +0100, Joris wrote: > > Also, experiences migrating from mod_php to (fast)cgi/php would be > welcome :) You'll need to recompile the interpreter. That's a lot of fun. Privilege separation and fastcgi is not trivial to solve. You must specify a different int

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Russell Coker
On Fri, 19 Mar 2004 22:05, Joris <[EMAIL PROTECTED]> wrote: > > The interesting thing is that no one works on fixing perchild MPM in > > apache2 that would allow to use standard mod_php in secure way :/ > > Is that the mode where the clients run with a different uid for each > virtual host? Yes.

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Joris
Arkadiusz Miskiewicz wrote: Dnia Friday 19 of March 2004 06:42, Joris napisał: So far a google search has yielded nothing but unbacked statements (I'll clean up the language a bit): "mod_php is a lot fast er than php-cgi", and "fastcgi/php is a lot faster than mod_php". Not very usefull. For me it

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 11:24, Adam ENDRODI napisał: > Privilege separation and fastcgi is not trivial to solve. You must > specify a different interpreter for each user. Huh? Why different interpreter? http://www.t17.ds.pwr.wroc.pl/~misiek/index.php/ApacheModFastcgiPHP > Authorization and f

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Adam ENDRODI
On Fri, Mar 19, 2004 at 06:42:08AM +0100, Joris wrote: > > Also, experiences migrating from mod_php to (fast)cgi/php would be > welcome :) You'll need to recompile the interpreter. That's a lot of fun. Privilege separation and fastcgi is not trivial to solve. You must specify a different int

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 06:42, Joris napisał: > So far a google search has yielded nothing but unbacked statements (I'll > clean up the language a bit): "mod_php is a lot fast er than php-cgi", > and "fastcgi/php is a lot faster than mod_php". Not very usefull. For me it was 0.7 req/s on one m

Re: mod_php vs fastcgi/php speed

2004-03-19 Thread Arkadiusz Miskiewicz
Dnia Friday 19 of March 2004 06:42, Joris napisał: > So far a google search has yielded nothing but unbacked statements (I'll > clean up the language a bit): "mod_php is a lot fast er than php-cgi", > and "fastcgi/php is a lot faster than mod_php". Not very usefull. For me it was 0.7 req/s on one m