Zookeeper/setup-Phpdoc专题

安装/配置

目录

需求

This extension requires » ZooKeeper C Binding (version 3.4.1 or greater). For more information, see » ZooKeeper Programmer's Guide.

This extension requires PHP version 5.2.0 or higher. Since 0.6.0, it requires PHP version 7.0.0 or higher.

安装

» PECL 扩展未与 PHP 捆绑。

安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/zookeeper.

To enable zookeeper support, configure with --with-libzookeeper-dir=DIR. DIR is the install prefix of ZooKeeper C Binding, which must contain the include/zookeeper/zookeeper.h

PECL 扩展的 DLL 当前不可用。参见 在 Windows 上构建章节。

运行时配置

这些函数的行为受 php.ini 中的设置影响。

名字 默认 可修改范围 Changelog
zookeeper.recv_timeout 10000 PHP_INI_ALL  
zookeeper.session_lock 1 PHP_INI_SYSTEM  
zookeeper.sess_lock_wait 150000 PHP_INI_ALL  

有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

zookeeper.recv_timeout int
Default the timeout for any ZooKeeper session.

zookeeper.session_lock int
Enable PHP session locking.

zookeeper.sess_lock_wait int
PHP Session spin lock retry wait time in microseconds. Be carefull when setting this value. Valid values are integers, where 0 is interpreted as the default value. Negative values result in a reduces locking to a try lock.

资源类型

此扩展没有定义资源类型。


本站为非盈利网站,作品由网友提供上传,如无意中有侵犯您的版权,请联系删除