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
Subject Author Posted

turn off warning message on nginx

lifeisjustabout February 04, 2011 01:20AM

Re: turn off warning message on nginx

Piotr Karbowski February 09, 2011 10:58AM

Re: turn off warning message on nginx

mike February 09, 2011 01:34PM

Re: turn off warning message on nginx

Reinis Rozitis February 09, 2011 04:18PM

Re: turn off warning message on nginx

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

Re: turn off warning message on nginx

Reinis Rozitis February 09, 2011 05:38PM

Re: turn off warning message on nginx

Jim Ohlstein February 09, 2011 02:00PM

Re: turn off warning message on nginx

mike February 09, 2011 02:08PM

Re: turn off warning message on nginx

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

Re: turn off warning message on nginx

mike February 09, 2011 03:14PM

Re: turn off warning message on nginx

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

Re: turn off warning message on nginx

mike February 09, 2011 03:30PM

Re: turn off warning message on nginx

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

Re: turn off warning message on nginx

mike February 09, 2011 03:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 245
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