Solving: Call to undefined function curl_init() in Debian/Ubuntu
[quads id=5]Hi, this is an easy Troubleshooting of the Call to undefined function curl_init() Issue for WordPress in Ubuntu/Debian GNU/Linux Servers.
Usually this problem is caused by a Missing or Unachieved PHP cURL Setup!
Installing PHP cURL Extension
Now to Install PHP cURL
Generally play:sudo apt install phpX.Y-curl php-curl
And so for instance for the current PHP 7.4 it looks like:sudo apt install php7.4-curl php-curl
[quads id=8]
Restarting Apache
So then to Restart Apache Web Server
It’s is important to Reload it just like with:sudo /etc/init.d/apache2 restart