By rem3n
I’ve updated Ubuntu from 16.04 to 18.04 and then from 18.04 to 20.04. Now two plugins on Wordpress give me these errors:
1- OneSignal Push: cURL is not installed on this server. cURL is required to send notifications. Please make sure cURL is installed on your server before continuing.
2- Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: curl
I’ve tried every related solution on the internet so far but could not solve this problem yet. I ran sudo apt-get install curl, but nothing has changed. I also got this: curl is already the newest version (7.68.0-1ubuntu2.2)
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!
Hi @rem3n,
You’ll need to install PHP’s curl module rather than the curl service on your server. Try to execute the following command on your droplet
apt list --installed php*
It will show you all your PHP packages. It’s possible you actually have two PHP versions rather than one. You can remove the old one and just use the newest.
Regards, KFSYS
Hi @rem3n,
I’m glad the issue is resolved now!
Regarding cleanup, I saw you have a lot of PHP versions installed. If you are not using them, I’ll recommend removing all of them but the one that you are using.
Regards, KFSys
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.