Welcome! Log In Create A New Profile

Advanced

Re: turn off warning message on nginx

Reinis Rozitis
February 09, 2011 05:38PM
> it means for each requests, every directory from / to the full path of the
> script file, a check is done on the presence of .user.ini. This kills
> performances and should be avoid in high loaded sites.

While I'm not suggesting this (I don't use it personally as no
coder/developer should override my carefully crafted server configuration)
it is not as bad as you say .

If you had looked at the documentation (and as far I tested it also works as
described) you might notice that there is 'user_ini.cache_ttl' which
controls how often are the ini files reread. Setting it high enough (default
is 5 mins) won't give you any penalty at all versus the flexibility such
approach provides.

"High loaded" sites wouldnt probably use .htaccess anyways which makes me
think that the innitial poster doesnt really has one but asks for similar
feature.



p.s. if you specifically do not disable (make an empty string '' setting for
user_ini.filename in your php.ini ) php does this by default ..

rr



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

turn off warning message on nginx

lifeisjustaboutFebruary 04, 2011 01:20AM

Re: turn off warning message on nginx

Piotr KarbowskiFebruary 09, 2011 10:58AM

Re: turn off warning message on nginx

mikeFebruary 09, 2011 01:34PM

Re: turn off warning message on nginx

Reinis RozitisFebruary 09, 2011 04:18PM

Re: turn off warning message on nginx

Jérôme LoyetFebruary 09, 2011 04:20PM

Re: turn off warning message on nginx

Reinis RozitisFebruary 09, 2011 05:38PM

Re: turn off warning message on nginx

Jim OhlsteinFebruary 09, 2011 02:00PM

Re: turn off warning message on nginx

mikeFebruary 09, 2011 02:08PM

Re: turn off warning message on nginx

Jérôme LoyetFebruary 09, 2011 03:10PM

Re: turn off warning message on nginx

mikeFebruary 09, 2011 03:14PM

Re: turn off warning message on nginx

Jérôme LoyetFebruary 09, 2011 03:18PM

Re: turn off warning message on nginx

mikeFebruary 09, 2011 03:30PM

Re: turn off warning message on nginx

Jérôme LoyetFebruary 09, 2011 03:38PM

Re: turn off warning message on nginx

mikeFebruary 09, 2011 03:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 5 on May 17, 2013
Record Number of Guests: 138 on May 16, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready