Http error 500 "class memcache not found"

9.1.x
help

#1

Default OwnCloud 9.1 install on minimal Centos 7.

Getting:

[Mon Jul 25 23:56:10.194357 2016] [:error] [pid 2268] [client xxx:53739] PHP Fatal error: Class 'Memcached' not found in /var/www/html/owncloud/config/config.php on line 954

memcache.so exists and loaded in php.ini

ps ax | grep memcached

866 ? Ssl 0:00 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024

Where to go?

Regards, Lars.


#2

Hi,

memcache.so exists and loaded in php.ini

quoting from the documentation:

Be sure to install the memcached PHP module, and not memcache, as in the following examples. ownCloud supports only the memcached PHP module.

https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/caching_configuration.html#id3

Also consider using APCu instead of memcached as recommended here:

https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/caching_configuration.html#recommendations-based-on-type-of-deployment