Nginx + PHP Modify single request maximum execution time

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

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4599 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.