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?
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?
Edit: /etc/sysconfig/httpd
Uncomment:
Restart, voila!
CentOS 6x:
modify file: /etc/sysconfig/httpd
CentOS 7x:
Restart
Edited:
/etc/sysconfig/httpd
And uncommented:
After restarting httpd (service httpd restart) I get the following error:
You might need to install php-zts though.
After that no more error messages and httpd is starting normally with module worker active.
-- Redhat Enterprise Linux 6
php-zts in RHEL is found in the "optional" repository: