Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| 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 |
Here's a short explanation of the configuration directives.
swoole.enable_librarystringEnable/disable the extension's built-in library.
swoole.enable_fiber_mockstringEnable/disable use the xdebug extension to debug Swoole programs.
swoole.enable_preemptive_schedulerstringPrevent 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_errorsstringEnable/disable displaying Swoole error messages.
swoole.use_shortnamestringEnable/disable short aliases.
swoole.unixsock_buffer_sizeintSet the size of the Socket buffer for inter-process communication.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open