PHP init script to go with nginx?
Jauder Ho
lists at ruby-forum.com
Sat Jun 14 01:33:24 MSD 2008
php-fpm looks interesting (although there's quite a bit of what loooks
like russian =). I'll be checking it out.
In the meantime, attached is what I use as an init script. Also, the
following is the default file to go with it.
-------------------------------
START=yes
# Which user runs PHP? (default: www-data)
EXEC_AS_USER=foo
# Host and TCP port for FASTCGI-Listener (default: localhost:9000)
FCGI_HOST=localhost
FCGI_PORT=9000
# Environment variables, which are processed by PHP
PHP_FCGI_CHILDREN=2
PHP_FCGI_MAX_REQUESTS=1000
Attachments:
http://www.ruby-forum.com/attachment/2181/php-fastcgi
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list