安装/配置

目录

需求

PECL/stomp requires PHP 5.2.2 or newer.

The » OpenSSL package >= 0.9.6 and the openssl extension may also be required to use stomp over SSL.

安装

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

运行时配置

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

名字默认可修改范围更新日志
stomp.default_brokertcp://localhost:61613PHP_INI_ALL
stomp.default_connection_timeout_sec2PHP_INI_ALL
stomp.default_connection_timeout_usec0PHP_INI_ALL
stomp.default_read_timeout_sec2PHP_INI_ALL
stomp.default_read_timeout_usec0PHP_INI_ALL

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

stomp.default_broker string
The default broker URI to use when connecting to the message broker if no other URI is specified.

stomp.default_connection_timeout_sec integer
The seconds part of the default connection timeout.

stomp.default_connection_timeout_usec integer
The microseconds part of the default connection timeout.

stomp.default_read_timeout_sec integer
The seconds part of the default reading timeout.

stomp.default_read_timeout_usec integer
The microseconds part of the default reading timeout.

资源类型

There is only one resource type used in the stomp extension - it's the link identifier for a stomp connection.