I created a DigitalOcean LAMP droplet right out of the box - and cURL is not working. I have edited my php.ini file by removing the semicolon before the curl extension, but php is still not recognizing it.
This is incredibly irritating as it should work - right out of the box, yes? I have to have cURL in order to use the CMS I want. I have been trying for days to get this working to no avail.
Either I find a solution quickly or I will just have to find another host that has something that will work. I tried creating my own stack and that didn’t work either. I am about to lose my mind… UGH!
Any help would be appreciated, Thanks!
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!
Accepted Answer
This comment has been deleted
I uncommented the cURL extension in the php.ini file located in the cli directory and now I get this error message:
Hello,
I can confirm cURL is working on the LAMP Droplet. I’ve experienced such issues before where the CMS was not using the PHP version I wanted and thus having issues with some extensions.
Additionally, you can always try and install cURL from your terminal using the following line:
Ubuntu
apt install php-curl
CentOS
- yum install php-curl
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.