How to enable Apache2 HTTP/2 on version 2.4.33 in Debian Stretch?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












Today, I ran an upgrade as every week of my Debian web server.



I was greeted with message:




apache2 (2.4.25-3+deb9u5) stretch; urgency=medium
* This package upgrades mod_http2 to the version from apache2 2.4.33. This
fixes a lot of bugs and some security issues, but it also removes the
support for using HTTP/2 when running with mpm_prefork. HTTP/2 support
is only provided when running with mpm_event or mpm_worker.
-- Stefan Fritsch <sf@debian.org> Sat, 02 Jun 2018 09:51:46 +0200



Which surprised me, because I use HTTP/2 on my server. I tested my server on SSL Labs, and really the HTTP/2 is gone.



How do I remedy it supposing I use the official Apache and PHP 7.0 packages?







share|improve this question



























    up vote
    0
    down vote

    favorite












    Today, I ran an upgrade as every week of my Debian web server.



    I was greeted with message:




    apache2 (2.4.25-3+deb9u5) stretch; urgency=medium
    * This package upgrades mod_http2 to the version from apache2 2.4.33. This
    fixes a lot of bugs and some security issues, but it also removes the
    support for using HTTP/2 when running with mpm_prefork. HTTP/2 support
    is only provided when running with mpm_event or mpm_worker.
    -- Stefan Fritsch <sf@debian.org> Sat, 02 Jun 2018 09:51:46 +0200



    Which surprised me, because I use HTTP/2 on my server. I tested my server on SSL Labs, and really the HTTP/2 is gone.



    How do I remedy it supposing I use the official Apache and PHP 7.0 packages?







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Today, I ran an upgrade as every week of my Debian web server.



      I was greeted with message:




      apache2 (2.4.25-3+deb9u5) stretch; urgency=medium
      * This package upgrades mod_http2 to the version from apache2 2.4.33. This
      fixes a lot of bugs and some security issues, but it also removes the
      support for using HTTP/2 when running with mpm_prefork. HTTP/2 support
      is only provided when running with mpm_event or mpm_worker.
      -- Stefan Fritsch <sf@debian.org> Sat, 02 Jun 2018 09:51:46 +0200



      Which surprised me, because I use HTTP/2 on my server. I tested my server on SSL Labs, and really the HTTP/2 is gone.



      How do I remedy it supposing I use the official Apache and PHP 7.0 packages?







      share|improve this question













      Today, I ran an upgrade as every week of my Debian web server.



      I was greeted with message:




      apache2 (2.4.25-3+deb9u5) stretch; urgency=medium
      * This package upgrades mod_http2 to the version from apache2 2.4.33. This
      fixes a lot of bugs and some security issues, but it also removes the
      support for using HTTP/2 when running with mpm_prefork. HTTP/2 support
      is only provided when running with mpm_event or mpm_worker.
      -- Stefan Fritsch <sf@debian.org> Sat, 02 Jun 2018 09:51:46 +0200



      Which surprised me, because I use HTTP/2 on my server. I tested my server on SSL Labs, and really the HTTP/2 is gone.



      How do I remedy it supposing I use the official Apache and PHP 7.0 packages?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jul 18 at 12:01
























      asked Jul 18 at 8:37









      Vlastimil

      6,2411145114




      6,2411145114




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          In my case I applied the following as root to get it running again:



          # Stop Apache2 web server.
          apachectl stop

          # If you don't have fpm already installed.
          apt-get install php7.0-fpm

          # Enable some mods.
          a2enmod proxy_fcgi setenvif

          # Enable php7.0-fpm configuration.
          a2enconf php7.0-fpm

          # Disable php7.0 mod.
          a2dismod php7.0

          # Disable the prefork MPM. Only one MPM can run at a time.
          a2dismod mpm_prefork

          # Enable event MPM. You could also enable mpm_worker.
          a2enmod mpm_event

          # Start Apache2 web server.
          apachectl start


          I hope I did not forget something. Feel free to comment.






          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456940%2fhow-to-enable-apache2-http-2-on-version-2-4-33-in-debian-stretch%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            In my case I applied the following as root to get it running again:



            # Stop Apache2 web server.
            apachectl stop

            # If you don't have fpm already installed.
            apt-get install php7.0-fpm

            # Enable some mods.
            a2enmod proxy_fcgi setenvif

            # Enable php7.0-fpm configuration.
            a2enconf php7.0-fpm

            # Disable php7.0 mod.
            a2dismod php7.0

            # Disable the prefork MPM. Only one MPM can run at a time.
            a2dismod mpm_prefork

            # Enable event MPM. You could also enable mpm_worker.
            a2enmod mpm_event

            # Start Apache2 web server.
            apachectl start


            I hope I did not forget something. Feel free to comment.






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              In my case I applied the following as root to get it running again:



              # Stop Apache2 web server.
              apachectl stop

              # If you don't have fpm already installed.
              apt-get install php7.0-fpm

              # Enable some mods.
              a2enmod proxy_fcgi setenvif

              # Enable php7.0-fpm configuration.
              a2enconf php7.0-fpm

              # Disable php7.0 mod.
              a2dismod php7.0

              # Disable the prefork MPM. Only one MPM can run at a time.
              a2dismod mpm_prefork

              # Enable event MPM. You could also enable mpm_worker.
              a2enmod mpm_event

              # Start Apache2 web server.
              apachectl start


              I hope I did not forget something. Feel free to comment.






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                In my case I applied the following as root to get it running again:



                # Stop Apache2 web server.
                apachectl stop

                # If you don't have fpm already installed.
                apt-get install php7.0-fpm

                # Enable some mods.
                a2enmod proxy_fcgi setenvif

                # Enable php7.0-fpm configuration.
                a2enconf php7.0-fpm

                # Disable php7.0 mod.
                a2dismod php7.0

                # Disable the prefork MPM. Only one MPM can run at a time.
                a2dismod mpm_prefork

                # Enable event MPM. You could also enable mpm_worker.
                a2enmod mpm_event

                # Start Apache2 web server.
                apachectl start


                I hope I did not forget something. Feel free to comment.






                share|improve this answer













                In my case I applied the following as root to get it running again:



                # Stop Apache2 web server.
                apachectl stop

                # If you don't have fpm already installed.
                apt-get install php7.0-fpm

                # Enable some mods.
                a2enmod proxy_fcgi setenvif

                # Enable php7.0-fpm configuration.
                a2enconf php7.0-fpm

                # Disable php7.0 mod.
                a2dismod php7.0

                # Disable the prefork MPM. Only one MPM can run at a time.
                a2dismod mpm_prefork

                # Enable event MPM. You could also enable mpm_worker.
                a2enmod mpm_event

                # Start Apache2 web server.
                apachectl start


                I hope I did not forget something. Feel free to comment.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jul 18 at 8:37









                Vlastimil

                6,2411145114




                6,2411145114






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456940%2fhow-to-enable-apache2-http-2-on-version-2-4-33-in-debian-stretch%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay