On Fri, 19 Mar 2004, Ilia Alshanetsky wrote: > On March 19, 2004 04:28 pm, [EMAIL PROTECTED] 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php