Gentoo Archives: gentoo-user

From: Xi Shen <davidshen84@××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] php-cgi must be run as root?
Date: Fri, 06 May 2011 10:29:16
Message-Id: BANLkTincJPnT31SpR_6RogL4_jDhLxit7A@mail.gmail.com
1 Hi,
2
3 My system is Gentoo 64bit, up to date. I want to use Nginx+FastCgi+PHP
4 to build my web site. But I found if I start the php-cgi, through the
5 spawn-fcgi tool, as nginx:nginx, I got "No input file specified."
6 message on in my browser. If I spawn the process as root:root,
7 everything works fine. The access permission to
8 /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute
9 it. Then, what is the problem?
10
11
12 --
13 Best Regards,
14 Xi Shen (David)
15
16 http://twitter.com/davidshen84/

Replies

Subject Author
Re: [gentoo-user] php-cgi must be run as root? Andrea Conti <alyf@××××.net>