Comment configurer curl sur Linux Apache

Dans cet article, vous apprendrez comment configurer et activer CURL dll dans php.ini.

La commande curl télécharge des fichiers servis via FTP, HTTP, SCP, IMAP, et divers autres protocoles pris en charge.

Étape 1 : Installer CURL

sudo apt install php-curl

Étape 2 : activer CURL DLL dans PHP.ini

Supprimez le point-virgule avant "extension=php_curl.dll"

Étape 3 : Redémarrer le service Apache

sudo service apache2 restart

More information