No memory cache has been configured

memcache

#1

I just installed OwnCloud and noticed in the "Admin > General" setting area I am getting the following error... "No memory cache has been configured"

I checked my info.php file to see what all is installed with PHP and noticed Memcache is installed. I have memcache version 2.2.7 & memcached version 2.2.0. My site is hosted with A2 Hosting, so I do have access to the .htaccess file. What do I need to do configure this so that my Memory Cache is configured or recognized??

I tried editing the config.php file and added both "'memcache.local' => '\OC\Memcache\APCu'," & " 'memcache.distributed' => '\OC\Memcache\Memcached'," to my config.php file but once I save file and refresh site I get errors all over the site and the site will no longer load properly...SO that code clearly breaks my website.

Am I missing something?

ALSO I am getting the following error message too in the Admin area:
Transactional file locking should be configured to use memory-based locking

Any help with this would be great!


#2

I don't think that this is enough when having a look at the documentation provided here:

https://doc.owncloud.org/server/latest/admin_manual/configuration_server/caching_configuration.html#id2

There is another part in the documentation about this:

https://doc.owncloud.org/server/latest/admin_manual/configuration_files/files_locking_transactional.html


#3

Ah, personally i'm using the following setup which works quite fine:

https://doc.owncloud.org/server/latest/admin_manual/configuration_server/caching_configuration.html#small-organization-single-server-setup