🔒 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

Trending Topics

Online now

Members online
1,143
Guests online
4,681
Total visitors
5,824

Forum statistics

Threads
2,338,457
Posts
29,304,121
Members
1,124,307
Latest member
bansseter
Back
Top