I have installed drupal on my localhost. It worked well 2 months ago, but now something happened and I don’t know why. I’ll be very grateful if you can help me. Thanks in advance.
The full error looks like this:
Fatal error: Class ‘Memcache’ not
found in
/srv/www/htdocs/modules/memcache/dmemcache.inc
on line 177
1) php -m gives this:
[PHP Modules]
bz2
ctype
date
dom
filter
gd
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
pcre
PDO
pdo_mysql
pdo_sqlite
Reflection session SimpleXML SPL
SQLite standard sysvsem tokenizer xml
xmlreader xmlwriter zip zlib[Zend Modules]
none
2) memcached is installed through package manager.
3) memcache module for drupal installed
what am I doing wrong? thx.
Thank you very much for your answers — I’ve eventually managed with this problem.
Here’s the solution as for openSUSE 11.1.
Install memcache extension for php:
now you should restart apache2 service
Install memcached daemon for php and run it as a daemon.
Install memcache plugin for drupal (all instructions here: http://drupal.org/project/memcache)
UPD. be carefull with upgrading PHP: intalled modules might not be working well with new version — you should recompile them. but somehow “pear install -f pecl/memcache” did the trick for me 🙂