Apache 00-mpm.conf configuration example for CentOS Linux 8

Get the default configuration file 00-mpm.conf for Apache, optimized for CentOS Linux 8. 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/httpd/conf.modules.d/00-mpm.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines.  See the httpd.conf(5) man
# page for more information on changing the MPM.

# prefork MPM: Implements a non-threaded, pre-forking web server
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
#
# NOTE: If enabling prefork, the httpd_graceful_shutdown SELinux
# boolean should be enabled, to allow graceful stop/shutdown.
#
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

# worker MPM: Multi-Processing Module implementing a hybrid
# multi-threaded multi-process web server
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
#
#LoadModule mpm_worker_module modules/mod_mpm_worker.so

# event MPM: A variant of the worker MPM with the goal of consuming
# threads only for connections with active processing
# See: http://httpd.apache.org/docs/2.4/mod/event.html
#
LoadModule mpm_event_module modules/mod_mpm_event.so

    
  

Config Details

Location
/etc/httpd/conf.modules.d/00-mpm.conf
Operating system
CentOS Linux 8
Length
23 lines
MD5 checksum
39b770d5c3dc6aba1115b52e6ed39afa

Usage

Download the raw file with wget or curl

Wget

wget -O 00-mpm.conf.example https://exampleconfig.com/static/raw/apache/centos8/etc/httpd/conf.modules.d/00-mpm.conf

cURL

curl https://exampleconfig.com/static/raw/apache/centos8/etc/httpd/conf.modules.d/00-mpm.conf > 00-mpm.conf.example