Need Help Configuring Nginx to run Wordpress
lists at ruby-forum.com
Fri Apr 25 10:00:46 MSD 2008
Rob Schultz wrote:
> 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.
Never mind what i just said. ALLOWED_ENV is what is used on Gentoo how
they do there init scripts. Sorry for wrong information.
Posted via http://www.ruby-forum.com/.
More information about the nginx