Need Help Configuring Nginx to run Wordpress

Rob Schultz lists at
Fri Apr 25 09:51:06 MSD 2008

mike wrote:
> 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.,

with spawn-fcgi you need to set a ALLOWED_ENV variable with all the 
variables you want to pass to php-cgi. I have never had issues with 
spawn-fcgi. Gentoo comes with a nice init script anyways for it.
Posted via

More information about the nginx mailing list