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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Testing http2 question

Discussion in 'EasyApache' started by keat63, Aug 3, 2017.

Tags:
  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    885
    Likes Received:
    26
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    If I install http2 on my server will all domains and apache automatically run using the new protocol or is it confurable as per domain.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's enabled globally by default after you install the RPM:

    Code:
    # cat /etc/apache2/conf.d/http2.conf
    <IfModule http2_module>
        LogLevel http2:info
        Protocols h2 h2c http/1.1
    </IfModule>
    However, you can customize it's configuration for individual virtual hosts using the information at:

    mod_http2 - Apache HTTP Server Version 2.4

    Here's a link with instructions on how to modify individual virtual hosts:

    Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation

    Thank you.
     
  3. yagami_kira

    yagami_kira Member

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Tokyo
    cPanel Access Level:
    Website Owner
    Do you have an estimated timeframe of a WHM update wherein this http2 module will be considered completely stable and therefore be enabled by default? This is because I have a VPS server purchased early this year when this module was still in beta testing.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There are currently no plans to enable this module by default, however it's considered stable and can be installed outside of the EA4 experimental repo:

    Apache Module: HTTP2 - EasyApache 4 - cPanel Documentation

    Thank you.
     
  5. yagami_kira

    yagami_kira Member

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Tokyo
    cPanel Access Level:
    Website Owner
    The link below shows how http2 can be enabled but it's implying that one should use PHP 7. Does it mean that if I'm using a script that uses Php 5.x , the script will not work?

    - Removed -
     
    #5 yagami_kira, Sep 22, 2017
    Last edited by a moderator: Sep 22, 2017
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use HTTP2 with PHP 5.x.

    Thank you.
     
  7. yagami_kira

    yagami_kira Member

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Tokyo
    cPanel Access Level:
    Website Owner
    Another thing, it is known that MPM_PREFORK and DSO+Mod_RUID2 is not compatible with HTTP2. Is there any reason why cPanel refuse to utilize MPM_WORKER and SuPHP as default ?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I encourage you to open a feature request if you'd like to see a change to the default EasyApache 4 profile:

    Submit A Feature Request

    Thank you.
     
Loading...

Share This Page