• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Redis as docker for nextcloud

djimno

New Pleskian
Hello,

i have start redis as docker. Now i want to use this to accelate my nextcloud.

First i type in a terminal
Code:
ps ax | grep redis
20605 ?        Ssl    0:03 redis-server *:6379

When i add to the config-file in nextcloud

Code:
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'redis' => array(
     'host' => 'localhost',
     'port' => 6379,
      ),

i get the error:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?

If i change '\OC\Memcache\APCu' in '\OC\Memcache\Redis' i get only a blank site.

Can someone help me?

Thx
Martin

[EDIT]
I install now APCu so i get no error like this:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?

Now i get this error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

[EDIT2]
The problem was solved by uncomment this line:

Code:
# 'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'redis' => array(
     'host' => 'localhost',
     'port' => 6379,
      ),
 
Last edited:
Back
Top