ConFoo Montreal 2026: Call for Papers

Voting

: seven plus one?
(Example: nine)

The Note You're Voting On

davidt
12 years ago
The module also supports SASL authentication, it just isn't documented sadly. You'll need to run the following code:

<?php
$m
= new Memcached();
$m->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
$m->setSaslAuthData("user-1", "pass");
?>

You need to enable the "memcached.use_sasl = 1" ini option for memcached in the php.ini file.

<< Back to user notes page

To Top