All Posts tagged as "server configuration"

server configuration

Increasing web server timeout

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.

Read
server configuration

Getting /etc/rc.local file to work on Debian 9 (Stretch)

Debian Stretch uses the rc.local service for executing commands on system startup. To use this service we need to run the following commands:

Read

Configuring Apache mod status

Apache Mod Status is an Apache module that provides useful information about the requests being sent to Apache.

Read

Disabling output buffering with mod_fcgid

Output 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