Gentoo Archives: gentoo-user

From: Xi Shen <davidshen84@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] php-cgi must be run as root?
Date: Mon, 09 May 2011 02:12:19
Message-Id: BANLkTin3oYtzv+qOoY4mj__gDpWSFCKznQ@mail.gmail.com
In Reply to: Re: [gentoo-user] php-cgi must be run as root? by Kfir Lavi
1 yeah, you are right. thanks :)
2
3
4 On Sat, May 7, 2011 at 12:59 AM, Kfir Lavi <lavi.kfir@×××××.com> wrote:
5 >
6 >
7 > On Fri, May 6, 2011 at 1:46 PM, Andrea Conti <alyf@××××.net> wrote:
8 >>
9 >> > The access permission to
10 >> > /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute
11 >> > it. Then, what is the problem?
12 >>
13 >> Most probably, the nginx user cannot access the .php file you're trying
14 >> to execute, either because of its permissions or because it cannot
15 >> traverse one of its parent directories.
16 >>
17 >> andrea
18 >>
19 > So in short you need to use
20 > chmod -R...
21 > chown -R...
22 >
23 > Kfir
24 >
25
26
27
28 --
29 Best Regards,
30 Xi Shen (David)
31
32 http://twitter.com/davidshen84/