How to setup curl on Linux Apache

In this article, you will learn how to setup and enable CURL dll in php.ini.

The curl command downloads files that are served with FTP, HTTP, SCP, IMAP, and other various supported protocols.

Step 1: Install CURL

sudo apt install php-curl

Step 2: enable CURL DLL in PHP.ini

Remove the semicolon before the "extension=php_curl.dll"

Step 3: Restart Apache service

sudo service apache2 restart

More information