Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add INI documentation.

  • Loading branch information...
commit d76834e43caf53213b6c1702daa12d6d2626bf03 1 parent abd0cae
@tricky tricky authored
Showing with 55 additions and 0 deletions.
  1. +54 −0 memcached.ini
  2. +1 −0  package.xml
View
54 memcached.ini
@@ -0,0 +1,54 @@
+[memcached]
+; Use session locking
+; valid values: On, Off
+; the default is On
+memcached.sess_locking = On
+
+; Session spin lock retry wait time in microseconds.
+; Be carefull when setting this value.
+; Valid values are integers, where 0 is interpreted as
+; the default value. Negative values result in a reduces
+; locking to a try lock.
+; the default is 150000
+memcached.sess_lock_wait = 150000
+
+; memcached session key prefix
+; valid values are strings less than 219 bytes long
+; the default value is "memc.sess.key."
+memcached.sess_prefix = "memc.sess.key."
+
+; Set the compression type
+; valid values are: fastlz, zlib
+; the default is fastlz
+memcached.compression_type = "fastlz"
+
+; Compression factor
+; Store compressed value only if the compression
+; factor (saving) exceeds the set limit.
+;
+; store compressed if:
+; plain_len > comp_len * factor
+;
+; the default value is 1.3 (23% space saving)
+memcached.compression_factor = "1.3"
+
+; The compression threshold
+;
+; Do not compress serialized values below this threshold.
+; the default is 2000 bytes
+memcached.compression_threshold = 2000
+
+; Set the default serializer for new memcached objects.
+; valid values are: php, igbinary, json, json_array
+;
+; json - standard php JSON encoding. This serializer
+; is fast and compact but only works on UTF-8
+; encoded data and does not fully implement
+; serializing. See the JSON extension.
+; json_array - as json, but decodes into arrays
+; php - the standard php serializer
+; igbinary - a binary serializer
+;
+; The default is igbinary if available and php otherwise.
+memcached.serializer = "igbinary"
+
View
1  package.xml
@@ -39,6 +39,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
<file role='doc' name='LICENSE'/>
<file role='doc' name='ChangeLog'/>
<file role='doc' name='memcached-api.php'/>
+ <file role='doc' name='memcached.ini'/>
<file role='src' name='config.m4'/>
<file role='src' name='config.w32'/>
<file role='src' name='php_memcached.c'/>
Please sign in to comment.
Something went wrong with that request. Please try again.