## 运行时配置

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

Swoole 配置选项
名字 | 默认 | 可修改范围 | 更新日志
--- | --- | --- | ---
swoole.enable_library | On | `INI_ALL` |
swoole.enable_fiber_mock | Off | `INI_ALL` |
swoole.enable_preemptive_scheduler | Off | `INI_ALL` |
swoole.display_errors | On | `INI_ALL` |
swoole.use_shortname | On | `INI_SYSTEM` |
swoole.unixsock_buffer_size | 8388608 | `INI_ALL` |

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

`swoole.enable_library` string

  Enable/disable the extension's built-in library.

`swoole.enable_fiber_mock` string

  Enable/disable use the xdebug extension to debug Swoole programs.

`swoole.enable_preemptive_scheduler` string

  Prevent some coroutines from consuming CPU time for too long in a tight loop (10ms of CPU time), preventing other coroutines from getting scheduled.

`swoole.display_errors` string

  Enable/disable displaying Swoole error messages.

`swoole.use_shortname` string

  Enable/disable short aliases.

`swoole.unixsock_buffer_size` int

  Set the size of the Socket buffer for inter-process communication.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open