Created
March 29, 2019 20:28
-
-
Save jhonata-menezes/2817c6f7c90a48742d3ae210c98f60ac to your computer and use it in GitHub Desktop.
Habilitando http2 no apache 2.4.29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#este trecho foi retirado do link: https://http2.pro/doc/Apache | |
#não é possivel usar o http2 com o mod_php necessário utlizar com o fastcgi. | |
#Caso no necessite utilizar o .htaccess recomendo usar o nginx como servidor web | |
#Testado com o Ubuntu 18.04.2 e apache2.4.29 | |
apachectl stop | |
apt-get install php7.1-fpm # Utilizar a versão conforme sua instalação. | |
a2enmod proxy_fcgi setenvif | |
a2enconf php7.2-fpm | |
a2dismod php7.2 | |
a2dismod mpm_prefork | |
a2enmod mpm_event | |
apachectl start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment