By Akash
Hi,
I have a droplet that is running WordPress 5.7.2 on ubuntu 20.04.2 and PHP Version 7.4.21.
CURL module was already installed in server but the WordPress throws a warning like it was not included.
How to resolve this?
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!
Hello, @Akash0920
As Bobby mentioned it looks like CURL is not installed for the current version, You can install it with the command that Bobby provided and then restart Apache.
- sudo service apache2 restart
You can also check a similar question that was previously asked in our community:
https://www.digitalocean.com/community/questions/curl-is-not-installed-in-your-php-installation
Hope that this helps Regards, Alex
Hello,
Note that, it looks like that you do not have the PHP Curl module installed for the current PHP version that you are using.
The best way to verify if this is the case is to create a PHP info file with the following content and then visit it via your browser:
<?php
phpinfo();
To install the module you could run the following command:
sudo apt install php7.4-curl
Hope that this helps. Regards, Bobby
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.