note 99005 added to memcache.getserverstatus
| From: | geoffrey dot hoffman at gmail dot com | Date: | Wed, 21 Jul 2010 19:10:29 +0000 |
| Subject: | note 99005 added to memcache.getserverstatus | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171025@lists.php.net to get a copy of this message | ||
Beware... this method does not actually attempt to connect to the server and port you specify! It is
not a health check to tell whether memcached is actually running or not!
It merely returns the server status from the pool, which defaults to TRUE when using addServer( )
with only required arguments.
Try it - stop your memcached and run the sample code above - it will output 1.
----
Server IP: 64.71.164.2
Probable Submitter: 70.166.218.198
----
Manual Page -- http://www.php.net/manual/en/memcache.getserverstatus.php
Edit -- https://master.php.net/note/edit/99005
Del: integrated -- https://master.php.net/note/delete/99005/integrated
Del: useless -- https://master.php.net/note/delete/99005/useless
Del: bad code -- https://master.php.net/note/delete/99005/bad+code
Del: spam -- https://master.php.net/note/delete/99005/spam
Del: non-english -- https://master.php.net/note/delete/99005/non-english
Del: in docs -- https://master.php.net/note/delete/99005/in+docs
Del: other reasons-- https://master.php.net/note/delete/99005
Reject -- https://master.php.net/note/reject/99005
Search -- https://master.php.net/manage/user-notes.php