位置: 编程技术 - 正文

PHP:Memcached::setSaslAuthData()的用法_Memcached类

编辑:rootadmin
Memcached::setSaslAuthData

推荐整理分享PHP:Memcached::setSaslAuthData()的用法_Memcached类,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PECL memcached >= 2.0.0)

Memcached::setSaslAuthData — Set the credentials to use for authentication

说明 public void Memcached::setSaslAuthData ( string $username , string $password )

Memcached::setSaslAuthData() sets the username and password that should be used for SASL authentication with the memcache servers.

PHP:Memcached::setSaslAuthData()的用法_Memcached类

This method is only available when the memcached extension is built with SASL support. Please refer to Memcached setup for how to do this.

参数

username

The username to use for authentication.

password

The password to use for authentication.

返回值

没有返回值。

PHP:Memcached::setOptions()的用法_Memcached类 Memcached::setOptions(PECLmemcached=2.0.0)Memcached::setOptionsSetMemcachedoptions说明publicboolMemcached::setOptions(array$options)Memcached::setOptions()isavariationoftheMemcached::setOption()that

PHP:Memcached::setByKey()的用法_Memcached类 Memcached::setByKey(PECLmemcached=0.1.0)Memcached::setByKeyStoreanitemonaspecificserver说明publicboolMemcached::setByKey(string$server_key,string$key,mixed$value[,int$expiration])除了可以使用s

PHP:Memcached::setMultiByKey()的用法_Memcached类 Memcached::setMultiByKey(PECLmemcached=0.1.0)Memcached::setMultiByKeyStoremultipleitemsonaspecificserver说明publicboolMemcached::setMultiByKey(string$server_key,array$items[,int$expiration])除了

本文链接地址:https://www.jiuchutong.com/biancheng/280083.html 转载请保留说明!

上一篇:PHP:Memcached::touch()的用法_Memcached类

下一篇:PHP:Memcached::setOptions()的用法_Memcached类

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络