I am trying to use curl on my ubuntu 11.1 server.
In my script, I have the following:
$ch = curl_init();
But when I run the script, I get the following error message:
Fatal error: Call to undefined function curl_init()
I thought that Curl was not installed, but when I do the following:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev'
curl is already the newest version.
libcurl3 is already the newest version.
(I did not do the update). Any ideas?