By Elmererana
So I’m trying to add cURL to my droplet, and as other posts here just say to use
sudo apt-get install php5-curl
this gets all 404 errors from the ppa from this command and so it suggests that I try:
apt-get update
This goes fine, and a fair number of updates are retrieved.
Then when running the install again… the droplet goes down (off the net). Surfing to the IP or any subdomains I’ve pointed to it cannot be resolved. From the command line I’m unable to even restart apache cause it cannot find the apache directory. This was seriously not what I wanted.
I simply wanted to update cURL for php5, but I haven’t found any answers on where to get a stable working version of cURL. Any help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hopefully you did a “snapshot” before your attempt to install curl. If so, I suggest you use it to restore your system and then try the following: <br> <br> apt-get install curl libcurl3 libcurl3-dev php5-curl <br> <br>That worked for me.
use this code:
sudo sed -i -e ‘s/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list
sudo apt-get update
PROFIT!!!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.