20120622 mpm worker on rhel 6 - plembo/onemoretech GitHub Wiki

title: MPM Worker on RHEL 6 link: https://onemoretech.wordpress.com/2012/06/22/mpm-worker-on-rhel-6/ author: lembobro description: post_id: 2916 created: 2012/06/22 07:27:27 created_gmt: 2012/06/22 11:27:27 comment_status: closed post_name: mpm-worker-on-rhel-6 status: publish post_type: post

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

HTTPD=/usr/sbin/httpd.worker

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 php.conf.off. You have been warned.

Copyright 2004-2019 Phil Lembo