title: Have enabled php/curl, but am still getting error "Call to undefined function curl_init()"
body: <p>Sorry, I realise this is an oft-asked question but I've followed all of the standard advice to no avail.</p>
  
  <p>I'm trying to use a php library written by somebody else which provides wrapper functions for curl. I have uncommented extension=php_curl.dll in the php.ini file, saved it and restarted my server (Wampserver). I have also done a phpinfo() in the browser which says that curl is enabled, however I continue to get the error mentioned above.</p>
  
  <p>Here is snippet of the code, with the offending line 249 -</p>
  
  <pre><code>function http($target, $ref, $method, $data_array, $incl_head)
  {
  # Initialize PHP/CURL handle
  $ch = curl_init(); &lt;----
  
  # Prcess data, if presented
  if(is_array($data_array))
      {
      # Convert data array into a query string (ie animal=dog&amp;sport=baseball)
      foreach ($data_array as $key =&gt; $value)
      etc...
  </code></pre>
  
  <p>I have triple checked all of the above and even restarted my computer and checked again in desperation - the curl extension is definitely uncommented and phpinfo() definitely shows curl as being enabled.</p>
  
  <p>Hope someone might have an idea what's up?</p>
  
  <p>Thanks,
  Paul.</p>