Created
November 19, 2018 14:51
-
-
Save lnrsoft/54909c1054c829d701dee217ebc9a79c to your computer and use it in GitHub Desktop.
enable http2 on ubuntu server
This file contains 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
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get install -y language-pack-en-base | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.2 | |
sudo apachectl stop | |
sudo apt-get install php7.2-fpm | |
sudo a2enmod proxy_fcgi setenvif | |
sudo a2enconf php7.2-fpm | |
sudo a2dismod php7.2 | |
sudo a2dismod mpm_prefork | |
sudo a2enmod mpm_event | |
sudo systemctl status apache2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment