note 116644 added to memcached.setsaslauthdata
| From: | me at koen dot pt | Date: | Tue, 03 Feb 2015 22:47:30 +0000 |
| Subject: | note 116644 added to memcached.setsaslauthdata | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201585@lists.php.net to get a copy of this message | ||
When using setSaslAuthData(), it's a good change you'll get the following warning:
Warning: Memcached::setSaslAuthData(): SASL is only supported with binary protocol in test.php on
line 8
To enable binary protocol you'll have to set the Memcached::OPT_BINARY_PROTOCOL option to true:
<?php
$mc->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
?>
----
Server IP: 72.52.91.14
Probable Submitter: 84.85.25.50
----
Manual Page -- http://php.net/manual/en/memcached.setsaslauthdata.php
Edit -- https://master.php.net/note/edit/116644
Del: integrated -- https://master.php.net/note/delete/116644/integrated
Del: useless -- https://master.php.net/note/delete/116644/useless
Del: bad code -- https://master.php.net/note/delete/116644/bad+code
Del: spam -- https://master.php.net/note/delete/116644/spam
Del: non-english -- https://master.php.net/note/delete/116644/non-english
Del: in docs -- https://master.php.net/note/delete/116644/in+docs
Del: other reasons-- https://master.php.net/note/delete/116644
Reject -- https://master.php.net/note/reject/116644
Search -- https://master.php.net/manage/user-notes.php