<div dir="ltr">Great. Thank you.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 15, 2016 at 4:45 PM, basti <span dir="ltr"><<a href="mailto:black.fledermaus@arcor.de" target="_blank">black.fledermaus@arcor.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It should work per location. I have nothing found in the docs at the<br>
moment.<br>
But be warned if you use more than one value here you must do something like<br>
<br>
fastcgi_param  PHP_VALUE "register_globals=0<br>
display_errors=0";<br>
<br>
or<br>
<br>
fastcgi_param  PHP_VALUE "register_globals=0\ndisplay_<wbr>errors=0";<br>
<span class=""><br>
On 15.09.2016 09:26, Tseveendorj Ochirlantuu wrote:<br>
> Hello,<br>
><br>
> Basti thank you for help.<br>
><br>
> Does this override system wide or it applied to /foo location ?<br>
><br>
> Best regards,<br>
> Tseveen<br>
><br>
> On Thu, Sep 15, 2016 at 4:20 PM, basti <<a href="mailto:black.fledermaus@arcor.de">black.fledermaus@arcor.de</a><br>
</span><span class="">> <mailto:<a href="mailto:black.fledermaus@arcor.de">black.fledermaus@<wbr>arcor.de</a>>> wrote:<br>
><br>
>     Hello,<br>
><br>
>     you can use "fastcgi_param PHP_VALUE" to change PHP values.<br>
><br>
>     For example:<br>
><br>
>     location /foo {<br>
><br>
>        location ~ ^(.*.\.php)(.*)$ {<br>
>           fastcgi_buffers 4 256k;<br>
>           fastcgi_buffer_size 128k;<br>
>           fastcgi_param PHP_VALUE "max_execution_time = 60";<br>
>        }<br>
>     }<br>
><br>
>     Best Regards,<br>
>     Basti<br>
><br>
><br>
>     On 15.09.2016 02:41, Tseveendorj Ochirlantuu wrote:<br>
>     > Hello,<br>
>     ><br>
>     > I try to explain what I want to do. I have website which is needed php<br>
>     > max_execution_time should be different on action.<br>
>     ><br>
>     > default max_execution_time = 30 seconds<br>
>     ><br>
>     > but I need to increase execution time 60 seconds on some location<br>
>     or action<br>
>     ><br>
>     > <a href="http://example.com/request" rel="noreferrer" target="_blank">http://example.com/request</a><br>
>     ><br>
>     > Is it possible to do that on nginx to php-fpm ?<br>
>     ><br>
>     > Regards<br>
>     ><br>
>     ><br>
>     > ______________________________<wbr>_________________<br>
>     > nginx mailing list<br>
</span>>     > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a> <mailto:<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br>
>     > <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
<span class="">>     <<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a>><br>
>     ><br>
><br>
>     ______________________________<wbr>_________________<br>
>     nginx mailing list<br>
</span>>     <a href="mailto:nginx@nginx.org">nginx@nginx.org</a> <mailto:<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br>
>     <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
<div class="HOEnZb"><div class="h5">>     <<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a>><br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>