Tutorials

:: Apache: Change Prefork MPM to Worker MPM

:: Determine which MPM running in apache

apachectl -l

if you see worker.c, your apache running worker mpm, if you see prefork.c, apache running prefork.

 
:: Determine has apache worked mpm compiled

httpd.worker -l

make sure you see worker.c on there.

 
:: How to change apache prefork mpm to worker mpm on linux centos

vi /etc/sysconfig/httpd
# uncomment on this line
HTTPD=/usr/sbin/httpd.worker

then restarting apache

/etc/init.d/httpd restart

 
:: Links
+ Google
+ CrisGilligan

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *