Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I use this command: yum install apache2-mpm-worker

with no success. Searching on google also not found


share|improve this question

2 Answers 2

Uncomment the httpd.worker line in /etc/sysconfig/httpd:

# The default processing model (MPM) is the process-based
# 'prefork' model.  A thread-based model, 'worker', is also
# available, but does not work with some modules (such as PHP).
# The service must be stopped before changing this variable.


share|improve this answer
Thank you very much. It works now – Ya brotha Dec 30 '09 at 0:40

I've done that and restarted apache. I do an httpd -l and it only shows the prefork.c not the worker.c . I have checked the sbin directory and know for a fact the httpd.worker file exists. ANy other ideas?

share|improve this answer
That's because httpd is the prefork compiled version and httpd.worker is the worker compiled version (two separate binaries). The init script uses /usr/sbin/httpd unless it finds an alternative binary defined as the variable HTTPD in /etc/sysconfig/httpd, in which case it spawns that one instead. – Twirrim Nov 4 '10 at 1:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.