Memcache class not found when accessed over internet

Mikael Johansson mikael at
Fri Sep 21 16:44:07 UTC 2007


There's a new release of pecl/memcache available from as of now, thanks
for reminding me :) It supports consistent hashing based on Brad's
implementation but with a choice of CRC32 or FNV-1a.


Marcus Bointon wrote:
> On 20 Sep 2007, at 20:17, Suleman Ali wrote:
>> *Fatal error*: Class 'memcache' not found
>> in */home/sali/public_html/tp/test.php* on line *29*
> It's quite common (at least in Debian/Ubuntu) to have a separate php.ini
> file for CLI/CGI and apache SAPIs. Are you sure that memcache is enabled
> in your apache php.ini? Look in /etc/php5/cli and /etc/php5/apache2.
> While we're here, there was mention a while ago that the memcache in
> pecl  would be updated for consistent hashing - it doesn't seem to have
> happened. Any ideas when it might?
> Marcus
> -- 
> Marcus Bointon
> Synchromedia Limited: Creators of
> UK resellers of info at hand CRM solutions
> marcus at |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the memcached mailing list