Skip to content

Instantly share code, notes, and snippets.

@seyyah
Created July 15, 2010 18:53
Show Gist options
  • Select an option

  • Save seyyah/477351 to your computer and use it in GitHub Desktop.

Select an option

Save seyyah/477351 to your computer and use it in GitHub Desktop.
[fcgi-program:php-cgi]
command=/usr/bin/php-cgi
socket=tcp://127.0.0.1:9000
process_name=%(program_name)s_%(process_num)02d
user=www-data
numprocs=8
priority=999
autostart=true
#autorestart=unexpected
autorestart=true
startsecs=1
startretries=3
exitcodes=0,2
stopsignal=QUIT
stopwaitsecs=10
environment=PHP_FCGI_MAX_REQUESTS=1000
#environment=PHP_FCGI_MAX_REQUESTS=1000,PHP_FCGI_CHILDREN=8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment