🔒 Closed Set PHP max_execution_time in PHP-FPM using Nginx

Status
Not open for further replies.

Draft

Administrator
In order to set/configure/increase PHP max_execution_time variable from PHP-FPM using Nginx, you should follow this steps:
Edit php.ini
Code:
max_execution_time = 180

Edit php-fpm.conf

Code:
request_terminate_timeout = 180

Edit nginx
virtual hosts fastcgi_read_timeout
Code:
location ~ .php$ {
fastcgi_read_timeout 300;
}
Restart php-fpm and nginx
service php5-fpm restart
service nginx restart
 
Dear Draft,

Since 2 years have passed since the last reply in this thread, I am locking it to prevent necroposting. Feel free to start a new thread or contact any forum staff if you want this to be reopened.

Thread closed.
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 2K
    Views
  • 1
    Participants
Last reply from:
Unknown user

Online now

Members online
1,107
Guests online
3,885
Total visitors
4,992

Forum statistics

Threads
2,310,270
Posts
29,155,639
Members
1,187,953
Latest member
johny potatoes
Back
Top