Skip to main content

enable http2 but disable mod_ruid2,mod_mpm_prefork,mod_cgi

Comments

11 comments

  • cPanelMichael
    Hello, You can read about some of the configurations others have used when switching from Prefork/Ruid2 on the following thread: Prefork and HTTP2 Thank you.
    0
  • Gojko
    Thank you, i read it all but i have some concerns like "So, I tried it with mod_mpm_event noticed that mod_ruid2 is disabled and I would have make permission changes on directories and files so websites can work properly." What he mean about it? PHP handlers i have only "cgi" and i have fast cgi module installed. if i switch to mpm event is there any other change beside permission? that is server with 200+ accounts and more then 250+ domains all php versions work on event? i need 5.6,7.0,7.1. 90% websites are wordpress on server
    0
  • cPanelMichael
    Hello, You should not encounter that same issue if you are not using Mod_Ruid2. Switching to the Event MPM from the Prefork MPM should not lead to changes in the required permission or ownership values. You can read more about each PHP handler at: PHP Handlers - EasyApache 4 - cPanel Documentation Thank you.
    0
  • Gojko
    But i'm using ruid2. So when i swich to event i will disable ruid2, what i need to do to change permission or ownership for all accounts?
    0
  • cPanelMichael
    But i'm using ruid2. So when i swich to event i will disable ruid2, what i need to do to change permission or ownership for all accounts?

    PHP handlers i have only "cgi" and i have fast cgi module installed.

    Hello, Can you confirm if you are using PHP-FPM, or the mod_fcgid Apache module? The mod_fcgid Apache module is not compatible with Mod_Ruid2, so you wouldn't be able to have both enabled at the same time. Thank you.
    0
  • linux4me2
    Just thought I should mention that if the OP is thinking of disabling Mod_Ruid2 to enable HTTP2, some other symlink race condition protection might be worth thinking about before proceeding if the only protection is currently from Mod_Ruid2.
    0
  • cPanelMichael
    Just thought I should mention that if the OP is thinking of disabling Mod_Ruid2 to enable HTTP2, some other symlink race condition protection might be worth thinking about before proceeding if the only protection is currently from Mod_Ruid2.

    Good point. Here's a link to the list of alternative options for symlink protection: Symlink Race Condition Protection - EasyApache 4 - cPanel Documentation Thank you.
    0
  • Gojko
    So what i need to do? I need to disable mod_cgi? turn on php-fpm? disable mod_ruid2? turn on http2? and i still have to do something with permission files/folders because of mod_ruid2? 48383 48387 48391 48395 48399
    0
  • cPanelMichael
    Hello, Here's a link with more information about each PHP handler (including information about the permission requirements): > MultiPHP Manager" to verify if any of your domain names are using PHP-FPM as their handler. Thank you.
    0
  • Gojko
    Thank you for replay. I'm sorry for i'm late for this replay. No one use PHP-FPM. So what i need to do is: Disable mod_ruid2 Enable suexec Eneble http2 is that right? also i read all that stuff before but i don't want to make mistake because it's big problem if domains stop working until next replay on post.
    0
  • cPanelMichael
    Disable mod_ruid2 Enable suexec Eneble http2 is that right?

    Hello, That's correct. Note that should you encounter compatibility issues, you can use "WHM >> EasyApache 4" to uninstall HTTP2 and reinstall Mod_Ruid2 again to ensure your system reverts to the previous configuration. Thank you.
    0

Please sign in to leave a comment.