# Nextcloud



https://blog.viking-studios.net/en/nextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6/



```php title="config.php"
  'memcache.local' => '\OC\Memcache\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '127.0.0.1',
    'port' => '6379',
    'timeout' => '0',
    'dbindex' => '0',
  ),
  'memcache.locking' => '\OC\Memcache\Redis',
```



```ini title="php.ini"
[apc]
apc.enable_cli=1
```



Erreur Nextcloud dans les logs *Exception: Call to undefined function OCA\Settings\Controller\posix_getuid() in file*:

L'extension PHP Posix n'est pas installée.
