🔒 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,149
Guests online
906
Total visitors
2,055

Forum statistics

Threads
2,277,304
Posts
28,975,658
Members
1,229,819
Latest member
Dharen
Back
Top