PHP init script to go with nginx?
mike503 at gmail.com
Sat Jun 14 03:05:15 MSD 2008
you can use google translate on the php-fpm site and it makes it
the sample config file is in english anyway, so just download the
patch, patch your php and then look at the example config file - you
can setup multiple fastcgi pools (for instance one for each user/group
for privilege separation - which is one of the biggest reasons I need
I cannot emphasize it enough - PHP-FPM is -the- way to manage
PHP/FastCGI. anything else is hokey and should be deprecated :) We
need to get more exposure for PHP-FPM so more people are managing
their FastCGI properly (also not to mention it helps mature/fix some
FastCGI issues in PHP itself)
On 6/13/08, Jauder Ho <lists at ruby-forum.com> wrote:
> 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.
> # Which user runs PHP? (default: www-data)
> # Host and TCP port for FASTCGI-Listener (default: localhost:9000)
> # Environment variables, which are processed by PHP
> Posted via http://www.ruby-forum.com/.
More information about the nginx