PDA

View Full Version : [ubuntu] curl not installed properly



Keeper337
September 24th, 2008, 10:12 PM
I just install the fog (imaging server). When I try to run a task it says Call to undefined function curl_init(). I created a php page containing phpinfo() and it has no reference to curl at all. I have tried running apt-get install php5-curl and it says the newest version all exists. Any help would be great.

Thanks

Keeper337
September 26th, 2008, 04:00 PM
I have tried apt-get install curl libcurl3-dev and number of other packages. Nothing was working. I tried apt-get remove the same packages and reinstall them. Still nothing! I then double checked the /etc/php5/apache2/php.ini file. I had misspelled extension=curl.so. Once I changed the spelling and restarted the apache server it started to work. Go figure!!!