It’s simple to install the CURL extension on debian, ubuntu etc. with apt-get
First download curl extension:
apt-get install curl libcurl3 libcurl3-dev php5-curl
When this is done all you need is restarting your apache:
/etc/init.d/apache2 restart
And then it should work