Allan
says it all
but if You are implementing a reverse proxy on Your (Nginx server + Php-fpm) sever, Such as a Load Balancing, You also need to adjust Your /usr/local/etc/php-fpm.d/www.conf
and update this line to like to request_terminate_timeout = 1200s
where 1200s equals 20mins