Skip to content

Instantly share code, notes, and snippets.

@rodrigore
Created December 3, 2016 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigore/38653172aa0024357ac2203cec1412ba to your computer and use it in GitHub Desktop.
Save rodrigore/38653172aa0024357ac2203cec1412ba to your computer and use it in GitHub Desktop.

timeout

php.ini

vim /etc/php5/fpm/php.ini max_execution_time = 300000

php-fpm

sudo vim /etc/php5/fpm/pool.d/www.conf request_terminate_timeout = 0

nginx

sudo vim /etc/nginx/sites-available/sitio fastcgi_read_timeout 300;

sudo vim /etc/nginx/nginx.conf http { fastcgi_read_timeout 300; }

log php fpm

sudo vim /var/log/upstart/php5-fpm.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment