From e40c276a2e8634ba744133fa36017d2244e0bf47 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 12 May 2016 03:35:16 +0200 Subject: [PATCH] generate documentation from config.sample.php --- .../config_sample_php_parameters.rst | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index af78f0118..c081d4800 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -1081,6 +1081,31 @@ for more information. Server details for one or more memcached servers to use for memory caching. +:: + + 'memcached_options' => array( + // Set timeouts to 50ms + \Memcached::OPT_CONNECT_TIMEOUT => 50, + \Memcached::OPT_RETRY_TIMEOUT => 50, + \Memcached::OPT_SEND_TIMEOUT => 50, + \Memcached::OPT_RECV_TIMEOUT => 50, + \Memcached::OPT_POLL_TIMEOUT => 50, + + // Enable compression + \Memcached::OPT_COMPRESSION => true, + + // Turn on consistent hashing + \Memcached::OPT_LIBKETAMA_COMPATIBLE => true, + + // Enable Binary Protocol + \Memcached::OPT_BINARY_PROTOCOL => true, + + // Binary serializer vill be enabled if the igbinary PECL module is available + //\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY, + ), + +Connection options for memcached, see http://apprize.info/php/scaling/15.html + :: 'cache_path' => '',