Install cURL module on Ubuntu Server
Run following command on server :-
with php5: apt-get install php5-curl
with php7: apt-get install php7.0-curl
sudo service apache2 restart
Run following command on server :-
with php5: apt-get install php5-curl
with php7: apt-get install php7.0-curl
sudo service apache2 restart