[solved] How to change mpm-prefork to mpm-worker

Discussion in 'Installation/Configuration' started by wagner.nardin, Aug 8, 2016.

  1. wagner.nardin

    wagner.nardin New Member

    Hi
    when access the server-status, I see that my server is working as a mpm-prefork, I would change it for mpm-worker, how to proceed?
    What PHP mode so that I use?
    I installed the server with the tutorial "The Perfect Server - Debian 8.4 Jessie (Apache2, BIND, Dovecot, ISPConfig 3.1)" in a xeon server with 8GB of memory.
     
  2. wagner.nardin

    wagner.nardin New Member

    It´s solved

    1- stop apache with "service apache2 stop" command
    2- install mpm-work with "apt-get install apache2-mpm-work" command
    3- disable mpm-prefork module with "e2dismod mpm_prefork" command
    4- enable mpm-work module with "a2enmod mpm_work" command
    5- start apache with "service apache2 start" command
    then I checked the server-status and was ok.

    I did not find another way, I'm happy if anyone knows.
     
    ozgurerdogan likes this.

Share This Page