It is working well! :)
I was trying to make apache2 fcgid/fascgi with suexec or suphp working
for two days.. :|
With lighttpd + fastcgi_php + php5-cgi it is much more easy and fast!
thanx!
On 2011.01.05. 21:33, Bob Proulx wrote:
Informatik.hu wrote:
I would like use lighttpd with fastcgi-php. Fastcgi-php connects to
php5-cgi on 127.0.0.1:521.
I can start "php5-cgi -b 127.0.0.1:521" with root, but i would like
to run in with another user, like www-data.
Ports below 1024 are available only to the root user. In order to use
them with a non-root user you would need to pick a port above 1024.
Exactly i want to run multiple php5-cgi with multiple user
(different ports per virtual hosts).
When i try to start php5-cgi with a normal user, i got the
"Cannot bind/listen socket - [13] Permission denied. Couldn't create
FastCGI listen socket on port 127.0.0.1:522"
Correct. To use port 521 or 522 it needs to be opened by the root
user. This is a security restriction.
How can i star php5-cgi with a normal, or reduced user?
The best solution would be to pick a port above 1024.
Bbo
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d254ab7.2080...@informatik.hu