Get the default configuration file mpm_prefork.conf for Apache, optimized for Debian GNU/Linux 8 (jessie). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/apache2/mods-available/mpm_prefork.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxRequestWorkers: maximum number of server processes allowed to start
# MaxConnectionsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Download the raw file with wget or curl
wget -O mpm_prefork.conf.example https://exampleconfig.com/static/raw/apache/debian8/etc/apache2/mods-available/mpm_prefork.conf
curl https://exampleconfig.com/static/raw/apache/debian8/etc/apache2/mods-available/mpm_prefork.conf > mpm_prefork.conf.example
Other config files you might find useful