I would like to know please how to correct the following error, or what an alternative solution would be.
Update 1 – In my php.ini from extension=php_curl.dll is uncommented (I’ve rebooted the server too), however Curl does not appear anywhere in PHPINFO().
Update 2 – Furthermore, I’m certain I’m looking at the right php.ini because it’s the one mentioned inPHPINFO() as Loaded Configuration File.
I’m trying to perform simple cURL calls from within CodeIgniter using Phil Sturgeon’s library.
I’m using CodeIgniter 2.1.3.
I get the following error when performing the first example straight from the official README.

Here is my controller class:
<?php
class Test extends CI_Controller {
function __construct() {
parent::__construct();
}
function index() {
$this->load->library('curl');
// Simple call to remote URL
echo $this->curl->simple_get('http://google.com/');
}
}
/* End of file test.php */
/* Location: ./application/controllers/test.php */
I installed the most recent wampserver 2.2 over my (few months old) wampserver installation (and chose 32bit this time instead of 64bit), and curl seems to be working perfectly now.