Thoughts, etc.

Tracking the occasional random walk

nginx

Long-running PHP process on nginx

2016-12-13 / Leave a Comment

Recently I had to allow a PHP script to run for several minutes under Nginx (more specifically, as part of a Laravel app on a DigitalOcean server), after encountering the error “504 Gateway Timeout”. First, to tell Nginx to allow the script to run for a longer period of time, I set the FastCGI read timeout to ten … [Read more…]

Posted in: system Tagged: nginx, notes, php