title: 'Memcache' not found in command line PHP script
body: <p>I have Memcache installed and working for PHP apps run through Apache (v2.2) but when I try to run a .php file in the command-line i get this error:</p>
  
  <pre><code>Fatal error: Class 'Memcache' not found in /usr/local/Matters/app/matters-common/connection.php on line 94
  </code></pre>
  
  <p>Line 94 is:</p>
  
  <pre><code>$memcache = new Memcache;
  </code></pre>
  
  <p><strong>Other info:</strong></p>
  
  <p>CentOS 5.2<br>
  PHP 5.2.5 (cli) (built: Feb 20 2008 21:13:12)<br>
  Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies<br>
  Apache v2.2.8</p>