Gentoo Archives: gentoo-user

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] php-cgi must be run as root?
Date: Fri, 06 May 2011 17:01:37
Message-Id: BANLkTim4uqDXkr0gh0mQ8V2k5Yi1xAEZ6Q@mail.gmail.com
In Reply to: Re: [gentoo-user] php-cgi must be run as root? by Andrea Conti
1 On Fri, May 6, 2011 at 1:46 PM, Andrea Conti <alyf@××××.net> wrote:
2
3 > > The access permission to
4 > > /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute
5 > > it. Then, what is the problem?
6 >
7 > Most probably, the nginx user cannot access the .php file you're trying
8 > to execute, either because of its permissions or because it cannot
9 > traverse one of its parent directories.
10 >
11 > andrea
12 >
13 > So in short you need to use
14 chmod -R...
15 chown -R...
16
17 Kfir

Replies

Subject Author
Re: [gentoo-user] php-cgi must be run as root? Xi Shen <davidshen84@××××××××××.com>