Need Help Configuring Nginx to run Wordpress
mike503 at gmail.com
Thu Apr 24 11:05:56 MSD 2008
In my experience:
It ignores the PHP_FCGI_MAX_REQUESTS completely
It didn't kill the children properly
Running php-fpm is the best, it's "done right"
2nd best - just set the two PHP_FCGI* vars and use "sudo -u $user
php-cgi -b $port" - it actually recycles the engines properly. I see
absolutely NO need for some extra thing. I set up my php engines in
Ubuntu upstart files. You could use init too, if you wanted. To ensure
it's running at boot.. or do something else.
You'd have to do the same with spawn-fcgi anyway.,
On 4/23/08, Fabio Coatti <cova at ferrara.linux.it> wrote:
> mercoledì 23 aprile 2008, mike ha scritto:
> > 1) stop using spawn-fcgi. it sucks. use php-fpm. that's not the fix to
> > your issue, but it is something i recommend. :)
> It would be useful if you elaborate _why_ is sucks. Otherwise your argument
> falls short. I've tried to browse a bit for some documentation, but it's only
> in russian.
> Fabio "Cova" Coatti http://members.ferrara.linux.it/cova
> Ferrara Linux Users Group http://ferrara.linux.it
> GnuPG fp:9765 A5B6 6843 17BC A646 BE8C FA56 373A 5374 C703
> Old SysOps never die... they simply forget their password.
More information about the nginx