PHP init script to go with nginx?

mike 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
understandable enough...

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
it)

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.
>
> -------------------------------
>
> 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