How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

August 19, 2010

How to Check if Apache is Running Prefork or Worker

Filed under: Linux — Tags: , , , , — admin @ 8:36 pm

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.

Powered by WordPress