Welcome! Log In Create A New Profile

Advanced

Re: Nginx + php + fpm plug'n'play configuration

April 05, 2011 08:48AM
>
> OK, so you've gone for "one nginx which can read all files".
>
> Your config looks to me like it should work ok.
>

Yes, my first try is to have just 1 nginx instance, i think is easy to
mantain and manage.. and im not comfortable with ports, for what i've
understood every nginx instance must have its own port to listen to...


I think I had suggested just running one fcgi server per user, which would
> avoid the "restart" thing. That would probably be the equivalent to your
>
> > php5-cgi -b /var/run/php5-fpm-test_bar.sock
>
>
Yep, running 1 cgi instance per user is more flexible, but will require more
effords in maintenance.. easily to fall in a headcache to administer so mny
instances (please note that im not a sysadmin and i dont have much
experience with server administration, that's why im using a KIS approach)

Of course i know the cron task can not be the solution in production mode,
but from my tests seem that fpm could reload the configuration without
restart: I haven to try this under a storm of requests, but looks pretty
nice.


Well, thanks again for your time and suggestion, i'll play around with the
configurations hoping to find the 'best' solution.

Bye!


--
Is cuma cá mhinice a théann tú ar strae; is é is tábhachtaí gurb áil leat do
bhealach a aimsiú arís.
--
I can accept failure, everyone fails at something - But I can't accept not
trying.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx + php + fpm plug'n'play configuration

Daniele Pignedoli April 01, 2011 10:16AM

Re: Nginx + php + fpm plug'n'play configuration

Francis Daly April 01, 2011 11:34AM

Re: Nginx + php + fpm plug'n'play configuration

strae April 05, 2011 06:00AM

Re: Nginx + php + fpm plug'n'play configuration

Francis Daly April 05, 2011 07:52AM

Re: Nginx + php + fpm plug'n'play configuration

strae April 05, 2011 08:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready