Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Are the Apache/PHP modules on WHM server "thread safe"?

Discussion in 'EasyApache' started by postcd, Apr 29, 2015.

  1. postcd

    postcd Well-Known Member

    Oct 22, 2010
    Likes Received:
    Trophy Points:

    im considering using Apache MPM Worker instead of MPM Prefork (because of Mod_QOS, if anyone think its bad idea to enable Worker just for QoS to work, please comment)

    I read on multiple places that some "modules" are not "thread safe" so it is somehow not good to use them while having Apache MPM Worker in place (this MPM is using threads, not just processes).

    So i want to ask if default WHM installation contains only "thread safe" modules and all modules in EasyApache are also thread safe checked by cPanel? or i should not worry about "thread safe" issue running thread working MPM (Worker)? I read that PHP is not thread safe, so if it can produce any issues with threaded MPM Worker, why its offered in EasyApache?

    PS: currently im using Prefork MPM, in phpinfo() i have: "Thread Safety: disabled"
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 postcd, Apr 29, 2015
    Last edited: Apr 29, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Could you elaborate on the specific modules you read about, or the link you are referring to?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice