Wednesday, January 19, 2011

How to install MPM worker on CentOS 5.3?

I use this command: yum install apache2-mpm-worker

with no success. Searching on google also not found

Thanks.

  • Uncomment the httpd.worker line in /etc/sysconfig/httpd:

    # The default processing model (MPM) is the process-based
    # 'prefork' model.  A thread-based model, 'worker', is also
    # available, but does not work with some modules (such as PHP).
    # The service must be stopped before changing this variable.
    #
    #HTTPD=/usr/sbin/httpd.worker
    

    Cheers

    From Jason
  • I've done that and restarted apache. I do an httpd -l and it only shows the prefork.c not the worker.c . I have checked the sbin directory and know for a fact the httpd.worker file exists. ANy other ideas?

0 comments:

Post a Comment