锟斤拷些锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷 php.ini 锟叫碉拷锟斤拷锟斤拷影锟届。
锟斤拷锟斤拷 | 默锟斤拷 | 锟斤拷锟睫改凤拷围 | 锟斤拷锟斤拷锟斤拷志 |
---|---|---|---|
memcache.allow_failover | "1" | PHP_INI_ALL | Available since memcache 2.0.2. |
memcache.max_failover_attempts | "20" | PHP_INI_ALL | Available since memcache 2.1.0. |
memcache.chunk_size | "8192" | PHP_INI_ALL | Available since memcache 2.0.2. |
memcache.default_port | "11211" | PHP_INI_ALL | Available since memcache 2.0.2. |
memcache.hash_strategy | "standard" | PHP_INI_ALL | Available since memcache 2.2.0. |
memcache.hash_function | "crc32" | PHP_INI_ALL | Available since memcache 2.2.0. |
session.save_handler | "files" | PHP_INI_ALL | Supported since memcache 2.1.2 |
session.save_path | "" | PHP_INI_ALL | Supported since memcache 2.1.2 |
memcache.protocol | ascii | >PHP_INI_ALL | Supported since memcache 3.0.0 |
memcache.redundancy | 1 | >PHP_INI_ALL | Supported since memcache 3.0.0 |
memcache.session_redundancy | 2 | >PHP_INI_ALL | Supported since memcache 3.0.0 |
memcache.compress_threshold | 20000 | >PHP_INI_ALL | Supported since memcache 3.0.3 |
memcache.lock_timeout | 15 | >PHP_INI_ALL | Supported since memcache 3.0.4 |
锟斤拷锟斤拷锟斤拷锟斤拷指锟斤拷募锟斤拷说锟斤拷锟斤拷
memcache.allow_failover
boolean
锟角凤拷锟节凤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷锟矫伙拷锟斤拷透锟斤拷锟斤拷转锟狡碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
memcache.max_failover_attempts
integer
锟斤拷锟斤拷锟斤拷写锟斤拷突锟饺★拷锟斤拷锟绞憋拷锟洁尝锟皆的凤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷转锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟� memcache.allow_failover锟斤拷锟绞癸拷谩锟�
memcache.chunk_size
integer
锟斤拷锟捷达拷锟斤拷锟斤拷小锟斤拷锟斤拷锟街翟叫★拷锟斤拷锟絀/O锟斤拷锟斤拷越锟洁,锟斤拷锟斤拷锟斤拷锟侥拷锟斤拷锟斤拷俣冉锟斤拷停锟� 锟斤拷锟皆筹拷锟皆斤拷锟斤拷值锟斤拷锟斤拷32768锟斤拷
memcache.default_port
string
锟节筹拷锟斤拷锟斤拷锟斤拷memcache锟斤拷时锟斤拷锟斤拷锟矫伙拷械锟斤拷锟街革拷锟斤拷丝锟侥拷锟绞癸拷玫锟絋CP锟剿口号★拷
memcache.hash_strategy
string
锟斤拷锟斤拷key锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷映锟戒(锟街诧拷式锟斤拷锟斤拷锟皆★拷值 consistent锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷幔拷锟斤拷锟斤拷锟斤拷锟斤拷陆锟斤拷锟斤拷锟斤拷锟接筹拷锟� 锟斤拷锟斤拷注锟斤拷锟轿硷拷http://tech.idv2.com/2008/07/24/memcached-004/锟斤拷锟斤拷锟斤拷锟斤拷为 standard锟斤拷使锟斤拷锟斤拷锟斤拷锟斤拷式锟斤拷锟斤拷key锟斤拷映锟戒。
memcache.hash_function
string
锟斤拷锟斤拷锟斤拷key-server映锟斤拷时使锟斤拷锟侥革拷hash锟斤拷锟斤拷crc32 锟斤拷锟斤拷使锟矫憋拷准CRC32锟斤拷锟斤拷hash锟斤拷fnv锟斤拷说锟斤拷使锟斤拷FNV-1a锟斤拷
session.save_handler
string
锟斤拷值为memcache时锟斤拷锟绞癸拷锟絤emcache锟斤拷为session锟斤拷锟斤拷锟斤拷锟斤拷
session.save_path
string
锟斤拷锟斤拷一锟斤拷锟斤拷锟脚分革拷锟斤拷锟斤拷锟絪ession锟芥储锟侥凤拷锟斤拷锟斤拷url锟叫憋拷锟斤拷锟界: "tcp://host1:11211, tcp://host2:11211".
每锟斤拷url锟斤拷锟皆帮拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷些锟斤拷锟斤拷锟节凤拷锟斤拷Memcache::addServer()锟侥诧拷锟斤拷锟斤拷同锟斤拷锟斤拷锟界: "tcp://host1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
memcache.protocol
string
memcache.redundancy
integer
memcache.session_redundancy
integer
memcache.compress_threshold
integer
memcache.lock_timeout
integer