turn off warning message on nginx

Jérôme Loyet jerome at loyet.net
Wed Feb 9 23:07:40 MSK 2011


2011/2/9 Michael Shadle <mike503 at gmail.com>:
> It would be in mail archives somewhere. Either here or on the php-fpm list.
> No clue on status or if it ever was done or will be done. I'm not in a
> position to google things right now. For all I know it was just a spitball
> idea.
>
> On Feb 9, 2011, at 10:57 AM, Jim Ohlstein <jim at ohlste.in> wrote:
>
>
> On Feb 9, 2011 1:31 PM, "Michael Shadle" <mike503 at gmail.com> wrote:
>>
>> I think Jerome was working on a fastcgi_param method to alter ini
>> directives from the nginx conf. IIRC.

PHP_VALUE and PHP_ADMIN_VALUE are recognized fastcgi_param keys.

You can set only once each key (only the last will be recognized). So
you have to concatenate the values:


fastcgi_param PHP_VALUE sendmail_from=direct at prout.com;

or

fastcgi_param PHP_VALUE "sendmail_from=chroot at prout.com
precision=42";

or

fastcgi_param PHP_VALUE "sendmail_from=chroot at prout.com \n precision=42";

You can try and make feedbacks !

>
> Is it available? If not then it won't help him now. If so, please enlighten
> us.
>
>>
>> On Feb 9, 2011, at 7:54 AM, Piotr Karbowski <jabberuser at gmail.com> wrote:
>>
>> > On 02/04/2011 05:30 PM, lifeisjustabout wrote:
>> >> Hi,
>> >>
>> >> Is there any command that i put in conf file to turnoff warning message
>> >> of joomla.
>> >>
>> >> for instance in apache .htaccess if i add php_flag display_errors "0"
>> >> it
>> >> doesnt show me error message anymore
>> >>
>> >> how can i get rid of this problem
>> >>
>> >> thanks in advance
>> >
>> > This is php 'thing', nginx have nothing to do with it.
>
> Exactly. Have you tried a Google search for "turning off PHP warnings"? I'm
> sure you that you will find what you need without posting here. People will
> be more likely to try to help you if you've already tried to help yourself.
>
>> >
>> > -- Piotr.
>> >
>> >
> --
> Jim Ohlstein
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>



More information about the nginx mailing list