Install curl on Debian Apache

Often if you install WordPress on Debian Apache you will get the error
“The optional module, curl, is not installed, or has been disabled.”

To install curl go to your command line and type:

sudo apt install curl php-curl

When it’s done installing you need to restart apache:

sudo service apache2 restart

curl is now installed and if you go to your WordPress installation now the error should be gone.

Leave a Reply