At the long PHP debug browser responds with "504 gateway timeout". If you want to increase this debugging period,
1) set in /etc/nginx/nginx.conf:
http {
...
fastcgi_read_timeout 3600;
...
}
2) set this line in php.ini:
request_terminate_timeout = 3600s
3) restart nginx or restart containers.
It also possible to do in your Docker configuration.
1) set in /etc/nginx/nginx.conf:
http {
...
fastcgi_read_timeout 3600;
...
}
2) set this line in php.ini:
request_terminate_timeout = 3600s
3) restart nginx or restart containers.
It also possible to do in your Docker configuration.
> request_terminate_timeout = 3600s
ОтветитьУдалитьNot in php.ini, but in FPM pool configuration.