PHP (script himself):
ini_set('max_execution_time', 0);
NGINX (http section):
keepalive_timeout ALONGTIME1 [ALONGTIME2];
NGINX (location ~ \.php):
fastcgi_read_timeout ALONGTIME;
PHP (script himself):
ini_set('max_execution_time', 0);
NGINX (http section):
keepalive_timeout ALONGTIME1 [ALONGTIME2];
NGINX (location ~ \.php):
fastcgi_read_timeout ALONGTIME;