How to Check if Apache is Running Prefork or Worker

Today I want to change some settings on one of my server. But when to change I didn’t know if it’s prefork or worker module at the power of my apache.

So what to tune ?

Well this information is compile in Apache and is not loaded as module.

So if you want to find out what MPM module Apache is running you should run: httpd -l

And the output will be like this:

Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
prefork.c
http_core.c
Hope this will help someone.

Leave a Reply