添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
至今单身的登山鞋  ·  电动邦·  1 年前    · 
Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “ application/json ” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Resolved Redis as docker for nextcloud

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?
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,

  • Terms and rules
  • Privacy policy
  •