1. php.ini (usr/local/php/etc)
p>
max_execution_time = 300
2. php-fpm.conf (usr/local/php/etc)
request_terminate_timeout = 300
3.nginx.conf (usr/local/nginx/conf)< /strong>
http {
#...
fastcgi_read_timeout 300;
#...
}
4. Restart PHP-fpm, nginx
< /p>
service php5-fpm reload
service nginx reload
max_execution_time = 300 pre>request_terminate_timeout = 300
http {
#...
fastcgi_read_timeout 300;
#...
}service php5-fpm reload
service nginx reload