Re: new security related directive for php-4.3.4

From: Date: Fri, 19 Mar 2004 21:46:29 +0000
Subject: Re: new security related directive for php-4.3.4
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-8628@lists.php.net to get a copy of this message
On Fri, 19 Mar 2004, Ilia Alshanetsky wrote: > On March 19, 2004 04:28 pm, boulat@funio.com wrote: > > So then following your logic why not remove open_basedir,safe_mode,etc all > > together from PHP, just to increase the performance? > > Because it would break BC. When these options were developed Apache 2 was not > around and fastcgi support was flimsy at best. Using plain CGI (which MANY > ISPs use) to run PHP is quite resource intensive. Ilia, come back to reality man! Are you really suggesting that people use Apache2 with the perchild MPM to solve this problem? If so, that's pretty funny. I also fail to see how fastcgi solves the thousands of users on a machine problem. It's not like fastcgi can switch back and forth either, so you would need to run thousands of backend fastcgi php's all the time. > The open_basedir, safe_mode are hacks that were added because webservers > at the time didn't not have the ability to easily distinguish individual > user accounts and adjust the process uid/gid accordingly. And they still don't. -Rasmus

« previous php.internals (#8628) next »