Take the 2-minute tour ×

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 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

