Error [ 0 ]: Call to undefined function curl_init()

APPPATH/classes/Geoip.php [ 17 ]

12             $ip = $_SERVER['REMOTE_ADDR'];
13         }
14 
15         $data = "<ipquery><fields><all/></fields><ip-list><ip>".$ip."</ip></ip-list></ipquery>";
16 
17         $ch = curl_init();
18 
19         curl_setopt($ch, CURLOPT_URL, "http://194.85.91.253:8090/geo/geo.html");
20         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
21         curl_setopt($ch, CURLOPT_HEADER, false);
22         curl_setopt($ch, CURLOPT_POST, 1);
  1. APPPATH/classes/HTTP/Exception/404.php [ 67 ] » Geoip::check()

  2. SYSPATH/classes/Kohana/Request.php [ 983 ] » HTTP_Exception_404->get_response()

  3. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment