title: Trouble Enabling cURL on Ubuntu 11.10
body: <p>I have installed curl:</p>
  
  <pre><code>sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
  </code></pre>
  
  <p>and I have updated my php.ini file to include:</p>
  
  <pre><code>extension=php_curl.dll
  </code></pre>
  
  <p>I check to see if curl is working with the following command:</p>
  
  <pre><code>php -i | grep curl
  </code></pre>
  
  <p>and I receive the following message:</p>
  
  <blockquote>
    <p>PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/php_curl.dll' - /usr/lib/php5/20090626+lfs/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so' - /usr/lib/php5/20090626+lfs/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Additional .ini files parsed => /etc/php5/cli/conf.d/curl.ini,
    curl</p>
  </blockquote>
  
  <p>I also tested curl by creating a file called testCurl.php which contains the following:</p>
  
  <pre><code>&lt;?php
  echo ‘&lt;pre&gt;’;
  var_dump(curl_version());
  echo ‘&lt;/pre&gt;’;
  ?&gt;
  </code></pre>
  
  <p>When I navigate to localhost/testCurl.php I get an error: HTTP Error 500</p>
  
  <p>Can anyone help me to get curl working?</p>