I have Memcache installed and working for PHP applications running through Apache (v2.2), but when I try to run the .php file on the command line, I get this error:
Fatal error: Class 'Memcache' not found in /usr/local/Matters/app/matters-common/connection.php on line 94
Line 94:
$memcache = new Memcache;
Additional Information:
CentOS 5.2
PHP 5.2.5 (cli) (built: 02/20/2008 9:13:12 PM)
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Apache v2.2.8
command-line php apache memcached
rjstelling Jul 23 '09 at 12:06 2009-07-23 12:06
source share