[Supervisor-users] FastCGI - socket not being created with correct user

Jordi Funollet jordi.f at ati.es
Sat Oct 17 09:44:34 EDT 2009


I use a system similar to the one you describe with the only difference that I 
use a TCP socket instead of a file-socket.

    [program:php-annagaber]
    user=www-data
    environment=PHP_FCGI_CHILDREN=3,PHP_FCGI_MAX_REQUESTS=500
    command=/usr/bin/php-cgi -b 127.0.0.1:4000

Any local user can connect to the socket. I know it's just a workaround but it 
fits my needs.

I would expect Supervisor chowning the file-socket to 'user', too.
-- 
##############################
### Jordi Funollet
### http://www.terraquis.net



More information about the Supervisor-users mailing list