Last active
March 29, 2021 07:20
-
-
Save b1lb0/567065ac90235fb10fb1c37c5353fe42 to your computer and use it in GitHub Desktop.
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
| Installazione HTTP2 su curl di sistema e php da fare come root | |
| -------------------------------------------------------------- | |
| *service apache2 stop | |
| *service php7.0-fpm stop | |
| apt-get remove curl | |
| apt-get remove php7.0-curl | |
| editare /etc/apt/sources.list | |
| e scommetare tutti i deb-src | |
| apt-get update | |
| apt-get install -y git g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools | |
| cd ~ && \ | |
| git clone https://github.com/tatsuhiro-t/nghttp2.git && \ | |
| cd nghttp2 && \ | |
| autoreconf -i && \ | |
| automake && \ | |
| autoconf && \ | |
| ./configure && \ | |
| make && \ | |
| make install | |
| cd ~ && \ | |
| apt-get build-dep -y curl | |
| apt-get install wget | |
| wget http://curl.haxx.se/download/curl-7.46.0.tar.bz2 && \ | |
| tar -xvjf curl-7.46.0.tar.bz2 && \ | |
| cd curl-7.46.0 && \ | |
| ./configure --with-nghttp2=/usr/local --with-ssl && \ | |
| make && \ | |
| make install && \ | |
| ldconfig | |
| apt-get install php7.0-curl | |
| service apache2 start | |
| service php7.0-fpm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment