Opciones de configuración de Memcache&Name;&Default;&Changeable;&Changelog;memcache.allow_failover"1"PHP_INI_ALLDisponible desde memcache 2.0.2.memcache.max_failover_attempts"20"PHP_INI_ALLDisponible desde memcache 2.1.0.memcache.chunk_size"8192"PHP_INI_ALLDisponible desde memcache 2.0.2.memcache.default_port"11211"PHP_INI_ALLDisponible desde memcache 2.0.2.memcache.hash_strategy"standard"PHP_INI_ALLDisponible desde memcache 2.2.0.memcache.hash_function"crc32"PHP_INI_ALLDisponible desde memcache 2.2.0.session.save_handler"files"PHP_INI_ALLSoportado desde memcache 2.1.2session.save_path""PHP_INI_ALLSoportado desde memcache 2.1.2memcache.protocolascii>PHP_INI_ALLSoportado desde memcache 3.0.0memcache.redundancy1>PHP_INI_ALLSoportado desde memcache 3.0.0memcache.session_redundancy2>PHP_INI_ALLSoportado desde memcache 3.0.0memcache.compress_threshold20000>PHP_INI_ALLSoportado desde memcache 3.0.3memcache.lock_timeout15>PHP_INI_ALLSoportado desde memcache 3.0.4
&ini.php.constants;
&ini.descriptions.title;
memcache.allow_failoverboolean
Si se quiere hacer visible los failover en otros servidores
en caso de errores.
memcache.max_failover_attemptsinteger
Define el número de servidores a probar cuando se añade y se obtiene información.
Úsese solamente en conjunción con memcache.allow_failover.
memcache.chunk_sizeinteger
La información será transferida en bloques del tamaño indicado, definir
este valor a un número más pequeño requerirá más escrituras de red. Pruebe
de incrementar este valor a 32768 si se nota una lentitud inexplicable.
memcache.default_portstring
El puerto TCP por defecto a usar cuando se conecta a
el servidor memcached si no se especifica otro puerto.
memcache.hash_strategystring
Controla el tipo de estrategia a usar cuando se mapean claves en los servidores. Definir este valor como
consistent para habilitar hashing consistente que permite a los servidores
ser añadidos o eliminados del grupo sin causar que las claves sean remapeadas.
Si se define este valor como standard se usará
la antigua estrategia.
memcache.hash_functionstring
Controla que tipo de función hash se utiliza cuando se mapean claves a los servidores,
crc32 utiliza el stándar hash CRC32 hash mientras que fnv utiliza FNV-1a.
session.save_handlerstring
Si define esta opción como memcache podrá usar memcache como manejador de sesiones.
session.save_pathstring
Define una lista de urls de servidores separados por comas para el almacenamiento de sesiones, por ejemplo
"tcp://host1:11211, tcp://host2:11211".
Cada url puede contener parámetros que son aplicados al servidor, son los mismos que
en el método Memcache::addServer. Por ejemplo
"tcp://host1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"memcache.protocolstringmemcache.redundancyintegermemcache.session_redundancyintegermemcache.compress_thresholdintegermemcache.lock_timeoutinteger