Welcome! Log In Create A New Profile

Advanced

Re: turn off warning message on nginx

Reinis Rozitis
February 09, 2011 04:18PM
>> for instance in apache .htaccess if i add php_flag display_errors "0" it
>> doesnt show me error message anymore

While nginx doesnt provide such option you can accomplish it with PHP which
has exactly such feature for Fastcgi sapi -
http://www.php.net/manual/en/configuration.file.per-user.php

In short starting with 5.3.0 php you can put a '.user.ini' file in directory
containing 'display_errors=0' and it should work.

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: 269
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