PHP Fatal error: Class 'Memcache' not found
Nick Le Mouton
noodles at planetslackers.com
Wed Apr 9 02:45:04 UTC 2008
You need to make sure you have installed the PHP module for memcache.
Instructions here: http://www.php.net/manual/en/ref.memcache.php
Or the quick version is, run this from command line in linux:
pecl install memcache
Then add extension=memcache.so to your php.ini
Nick
-----Original Message-----
From: memcached-bounces at lists.danga.com
[mailto:memcached-bounces at lists.danga.com] On Behalf Of hce
Sent: Wednesday, 9 April 2008 2:38 p.m.
To: memcached at lists.danga.com
Subject: PHP Fatal error: Class 'Memcache' not found
Hi,
I installed lighttpd, php and memcached in FC6, and I have run the
script to start memcached:
nobody 6775 0.0 0.0 32848 816 ? Ssl 11:26 0:00
memcached -d -p 11211 -u nobody -m 64 -c 1024 -P
/var/run/memcached/memcached.pid
But the php could not find the "extends Memcache" in an php file:
2008-04-09 12:21:45: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Fatal
error: Class 'Memcache' not found
What I was missing?
Thank you.
Jim
More information about the memcached
mailing list