If your website is based on PHP and is being served by Apache web server with Nginx as reverse proxy, then you may have experienced 504 Gateway Timeout errors. The error usually happens because some PHP script takes longer than usual to run.
ReadDebian Stretch uses the rc.local service for executing commands on system startup. To use this service we need to run the following commands:
ReadApache Mod Status is an Apache module that provides useful information about the requests being sent to Apache.
ReadOutput buffering in PHP allows output from a PHP script to be stored in a buffer. When the buffer is flushed, the output is displayed to the user. Sometimes we may want to disable output buffering, so we can quickly access the output from a PHP script. For example it is useful to be able to view the output from long running scripts.
Read