If there is no curl on your server, you can enter one of the following commands to install it:
For Debian / Ubuntu based systems, you can enter the command below
sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart
For RedHat / CentOS based systems, you can enter (with root privileges)
yum install php5-curl /etc/init.d/httpd restart
This should set the curl and start working for you.
source share