Swoole/setup-Phpdoc专题
安装/配置
目录
需求
构建此扩展不需要其他扩展。
安装
Use --with-swoole[=DIR] when compiling PHP.
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/swoole
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| swoole.aio_thread_num | 2 | PHP_INI_ALL | |
| swoole.display_errors | On | PHP_INI_ALL | |
| swoole.fast_serialize | Off | PHP_INI_ALL | |
| swoole.unixsock_buffer_size | 8388608 | PHP_INI_ALL | |
| swoole.use_namespace | On | PHP_INI_SYSTEM |
这是配置指令的简短说明。
swoole.aio_thread_num int
POSIX asynchronous I/O thread number
swoole.display_errors string
This determines whether Swoole errors should be printed to the screen.
swoole.fast_serialize string
Whether to enable Swoole fast_serialize.
swoole.unixsock_buffer_size int
Buffer size of Unix socket.
swoole.use_namespace string
Whether to use PHP namespaces
资源类型
此扩展没有定义资源类型。