MPM Worker on RHEL 6

Just in case you need to know, here’s how to switch over to the worker mpm for Apache on Red Hat Enterprise Linux 6.

Yes, there are some legitimate reasons for using Apache’s mpm worker instead of prefork. Personally I try to avoid it. But sometimes personal preference needs to give way to customer need.

Turning on mpm worker in RHEL:

In /etc/sysconfig/httpd uncomment


in /etc/sysconfig/httpd.

And do service httpd restart.

CAUTION: shipping php packages are not compiled thread safe and will abend with worker mpm.

If you do mpm on Red Hat you need to disable php support: rename /etc/httpd/conf.d/php.conf to

You have been warned.