Created
May 24, 2018 15:09
-
-
Save jivoi/28f0271f59335456e180c0f5442f0631 to your computer and use it in GitHub Desktop.
update curl
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 apt-get install checkinstall build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev | |
wget https://curl.haxx.se/download/curl-7.60.0.tar.gz | |
tar xzf curl-7.60.0.tar.gz | |
./buildconf | |
./configure | |
checkinstall | |
dpkg -i /root/curl/curl-7.60.0/curl_7.60.0-1_amd64.deb | |
ldconfig | |
/etc/init.d/apache2 restart | |
php -i|grep cURL | |
cURL support => enabled | |
cURL Information => 7.60.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment