Centos – How to change from prefork to worker MPM on CentOS 64bit

apache-2.2centosmpm-preforkmpm-worker

I'm running CentOS 64 bit, and just found out I am running prefork MPM on my dual quad Xeon. I was told worker will give me lower memory usage and higher performance, since I run a very high traffic website.

If this is true, how do I do it?

Best Answer

Edit: /etc/sysconfig/httpd

Uncomment:

HTTPD=/usr/sbin/httpd.worker

Restart, voila!