Re: chrooted php5-cgi in a non chrooted apache
| From: | Jochem Maas | Date: | Sat, 10 Nov 2007 23:48:08 +0000 |
| Subject: | Re: chrooted php5-cgi in a non chrooted apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264307@lists.php.net to get a copy of this message | ||
hi Joerg,
not a solution but the open_basedir ini setting on a per Vhost
setting may offer a [partial] work around
>
> What I've get so far is, that I've created a chroot jail within the
> web-directory. I can chroot to there and execute php (I used "jailer",
> for this).
>
> But I don't get it to work that mod_fastcgi starts the chroot-jail.
>
> I googled a lot, but only found howtos and tutorials how to put the
> complete apache into a jail, but this is not what I want. Each domain
> have to be in its own jail.
>
> Can someone help me / point me in the right direction?
>
>
> Thanks in advance
>
> Joerg Schoppet
>