How to enable cURL on Wordpress.
I have install cURL on my server and I have also enabled in PHP.ini file(removed ; before extension) but still I'm getting error like cURL not available.
cURL version on server
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3 Release-Date: 2018-01-24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
Site Health Screenshot

Check your php version php -version
Install the same-version php-curl:
sudo apt install php7.4-curl (or whatever version you have)
Restart the server so Wordpress sees it (this is what fixed my problem).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With