Table of Contents

Apache HTTP Server Configuration Examples

Apache MPM (Prefork , Worker, Event)

What is MPM

http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html

The core engine in Apache is called the 'MPM' -“Multi Processing Modules”.

You can choose to change the MPM.

If you want to use PHP, you must use prefork.

Prefork MPM

Worker MPM

Event MPM

Process vs Threads

Process -context switches are expensive
Threads -runs within a process
-no context switch