Scott McEachern [sc...@blackstaff.ca] wrote:
> On 02/29/12 03:52, Remco wrote:
> >If the file on your file system is
> >/var/nginx/html/who_is_online.php, a daemon chrooted to /var/nginx
> >will see it as /html/who_is_online.php. If the daemon chrooted to
> >/var/nginx should really see /var/nginx/html/who_is_online.php,
> >the file should live in
> >/var/nginx/var/nginx/html/who_is_online.php on your file system.
> >Hope this helps.
> 
> Oh, I just wanted to mention one more thing for the archives/google:
> 
> php-fpm takes on the chroot of the web server.
> 
> Ignore the php-fpm.conf documentation where it says "Default value:
> not set" and "When this value is not set, chroot is not used."  Bah.
> :/
> 

This isn't true. There's no way for php-fpm or php-fastcgi to magically mirror 
what nginx is doing. They are totally separate and only communicate via socket.

Reply via email to