Call to undefined function curl_version
On current versions of Debian and Ubuntu, you can likely solve this by installing the Curl extension for PHP, and restarting the webserver. Assuming the webserver is Apache 2:
sudo apt-get install php-curl
sudo service apache2 restart
It's possible you'll need to install more:
sudo apt-get install curl libcurl3 libcurl3-dev;