Skip to content

Instantly share code, notes, and snippets.

@jivoi
Created May 24, 2018 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jivoi/28f0271f59335456e180c0f5442f0631 to your computer and use it in GitHub Desktop.
Save jivoi/28f0271f59335456e180c0f5442f0631 to your computer and use it in GitHub Desktop.
update curl
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