1. Check which MPM is running currently :
/usr/sbin/apachectl -l
If you see worker.c in the list of loaded modules, your Apache is running Worker MPM. If prefork.c, it is running prefork.
2. To determine if apache has Worker MPM compiled in:
/usr/sbin/httpd.worker -l
If you see worker.c in the list of compiled-in modules, Apache can run Worker MPM.
3. Un-Comment HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd
4. service httpd restart
Note : Please recompile php with thread-safe option(php still doesn't support worker MPM. You need mod_fcgid ), else it will throw error.
In order to temporary disable php, locate php
$locate php.conf
Then comment the php module and options. Then start apache.
Check again $/usr/sbin/apachectl -l
In order to compile mod_fcgid with worker MPM to be running php page, please refer following link :
http://www.lifelinux.com/installing-apache-with-worker-mpm-and-php-fastcgi/
Disclaimer : I have mentioned above link to help you on it. Note that I am not owner of this site or don't have privileges to edit this article. So, use it at your own risk.
Friday, 24 February 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment