open terminal
if php 5.6 or your php version
sudo apt-get install php5.6-curlrestart sudo service apache2 restart