note 105728 added to memcache.addserver

From: Date: Fri, 09 Sep 2011 23:11:49 +0000
Subject: note 105728 added to memcache.addserver
Groups: php.notes 
Request: Send a blank email to php-notes+get-183072@lists.php.net to get a copy of this message
The $timeoutms argument can be used to specify the timeout in milliseconds, but isn't available in all versions. For example, it exists in php_memcache 2.2.6, but not in 3.0.4. In 2.2.6, if you specify it, then it overrides $timeout. Caveat emptor: If $timeoutms is not specified, it defaults to the value of memcache.default_timeout_ms in php.ini, which defaults to 1000 if not set. This also overrides $timeout, which has the curious effect that $timeout is always ignored in php_memcache 2.2.6 (either in favor of $timeoutms, memcache.default_timeout_ms or the value 1000, in that order of priority). ---- Server IP: 69.147.83.197 Probable Submitter: 204.225.145.242 ---- Manual Page -- http://www.php.net/manual/en/memcache.addserver.php Edit -- https://master.php.net/note/edit/105728 Del: integrated -- https://master.php.net/note/delete/105728/integrated Del: useless -- https://master.php.net/note/delete/105728/useless Del: bad code -- https://master.php.net/note/delete/105728/bad+code Del: spam -- https://master.php.net/note/delete/105728/spam Del: non-english -- https://master.php.net/note/delete/105728/non-english Del: in docs -- https://master.php.net/note/delete/105728/in+docs Del: other reasons-- https://master.php.net/note/delete/105728 Reject -- https://master.php.net/note/reject/105728 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183072) next »