开发者

nginx/fastcgi 504 gateway error, increasing fastcgi_read_timeout isn't helping

开发者 https://www.devze.com 2023-04-04 01:33 出处:网络
I need the timeout to be high so I can use a debugger on my source code.It\'s getting passed to fastcgi from nginx correctly, but always times out after 60 seconds.I\'ve changed as many timeout parame

I need the timeout to be high so I can use a debugger on my source code. It's getting passed to fastcgi from nginx correctly, but always times out after 60 seconds. I've changed as many timeout parameters as I could find, restarted nginx and fast-cgi after every change and nothing worked.

I see most users point questions like this to How do I prevent a Gateway Timeout with FastCGI on Nginx. But that solution did not work for me.

The parameters I've increased are:

  • fastcgi_read_timeout (the above thread says this fixed the issue for that user)
  • client_header_timeout开发者_如何学运维
  • client_body_timeout
  • send_timeout


Have you checked the max_execution_time value in php.ini?

That's the only other configurable value I can think of that might be causing a timeout.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号