title: PHP and Codeigniter. CURL failure on server but not local machine
body: <p>I am developing an API using Codeigniter and Phils RESTserver.
  It works perfectly fine on my local machine (mac lion) but on my server (Ubuntu 10.04 with PHP 5.3) I get an error.</p>
  
  <pre><code>Severity: Notice
  
  Message: Use of undefined constant CURLOPT_FAILONERROR - assumed 'CURLOPT_FAILONERROR'
  
  Filename: libraries/REST_Controller.php
  
  Line Number: 717
  </code></pre>
  
  <p>The line in the REST_controller.php file at line 717.</p>
  
  <pre><code>$verify = $CI-&gt;curl-&gt;simple_get($verify_uri, array(), array(CURLOPT_FAILONERROR =&gt; FALSE));
  </code></pre>
  
  <p>What is wrong? Is there something that I need to upgrade?</p>