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/
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/n
On 02/29/12 03:52, Remco wrote:
I'm not familiar with nginx but in general, the crazy-simple
explanation I can think of is that you're running from a chroot. So
the daemon will look for files relative to its chroot.
That's *hilarious*.
And of course, you're quite right. It works perfectly f
Scott McEachern wrote:
> And here's where it can't find the file:
>
> 23595 php-fpm-5.3 GIO fd 2 wrote 100 bytes
> "ERROR: Unable to open primary script:
> /var/nginx/html/who_is_online.php (No such file or directory)
> "
...
>
> This problem is a real mystery to me, and I'm
4 matches
Mail list logo