Skip to main content

Which MPM and php handler to use for http2 module?

Comments

4 comments

  • Anoop P Alias
    You can install a nginx proxy and have http2 served without any hassles and modifying apache httpd in any way. Good luck
    0
  • yagami_kira
    i'm not comfortable with third party scripts and especially those not supported by cpanel
    0
  • egifford_corexcel
    I can't answer your fundamental question on Worker vs Event, but I can tell you my experience. I'm working on the same process: Moving to http/2 for a new server and also using PHP-FPM. Our websites are all PHP based. Based on readings from StackExchange, I choose Event: How do I select which Apache MPM to use? I first switched from Prefork to Event. This uninstalled mod_cgi, mod_mpm_prefork, and mod_ruid2. It installed mod_cgid and mod_mpm_event. I provisioned this change through EasyApache 4. After the above changes provisioned, I installed mod_http2 through EasyApache 4. I had to do this in two steps because doing it one step generated an error message. So far, things are working well and I'm detecting that http/2 is being used by my browser. I didn't have to do any additional configuration outside of using the EasyApache screens. Disclaimer: This server isn't in production, so this configuration isn't battle tested, yet.
    0
  • cPanelMichael
    Hello, You may also find the following thread helpful: Prefork and HTTP2 Thank you.
    0

Please sign in to leave a comment.