On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote:

> Hi jeroen!
> On Mon, 20 Aug 2001, [EMAIL PROTECTED] wrote:
> > As I read it in CVS,  chroot() will work even in safe-mode. Isn't this a bad
> > idea(tm), or am I wrong?
> > If users can chroot in safe-mode, Apache won't serve any more pages after
> > all children have been chrooted to an empty dir?
> uhm, where have you read that? [ curious ]
> nope, cause it will run as apache user, and you have to be root to chroot().

Indeed, chroot() doesn't make sense at all if it's used in a webserver
module. It's onyl useful when PHP runs as commandline tool, as root.
That's why I added the function.


> -- teodor

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to