title: WAMP Curl installation
body: <p>I have uncomment the following from the php.ini file </p>
  
  <pre><code>;extension=php_bz2.dll
  extension=php_curl.dll
  ;extension=php_dba.dll
  </code></pre>
  
  <p>Also ,I have copied the php_curl.dll to windows\system32 and restart the apache server. </p>
  
  <p>I am testing the follwoing script </p>
  
  <pre><code>&lt;?php
  
  $curl_handle=curl_init();
  curl_setopt($curl_handle,CURLOPT_URL,'http://example.com');
  curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2);
  curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1);
  $buffer = curl_exec($curl_handle);
  curl_close($curl_handle);
  
  if (empty($buffer))
  {
      print "Sorry, example.com are a bunch of poopy-heads.&lt;p&gt;";
  }
  else
  {
      print $buffer;
  }
  ?&gt;
  </code></pre>
  
  <p>and getting the following error</p>
  
  <pre><code>Fatal error: Call to undefined function curl_init() in C:\wamp\www\t.php on line 3
  </code></pre>
  
  <p>any help will be appreciated ?</p>