El comportamiento de estas funciones se ve afectado por la configuración de php.ini.
Nombre | Por defecto | Cambiable | Historial de cambios |
---|---|---|---|
swoole.aio_thread_num | 2 | INI_ALL | |
swoole.display_errors | On | INI_ALL | |
swoole.fast_serialize | Off | INI_ALL | |
swoole.unixsock_buffer_size | 8388608 | INI_ALL | |
swoole.use_namespace | On | INI_SYSTEM | |
swoole.enable_coroutine | On | INI_ALL | Available as of swoole 4.0.0 |
swoole.use_shortname | On | INI_ALL | Available as of swoole 4.0.0 |
swoole.enable_preemptive_scheduler | Off | INI_ALL | Available as of swoole 4.4.0 |
swoole.enable_library | On | INI_ALL | Available as of swoole 4.0.0 |
He aquí una breve explicación de las directivas de configuración.
swoole.aio_thread_num
intPOSIX asynchronous I/O thread number
swoole.display_errors
stringThis determines whether Swoole errors should be printed to the screen.
swoole.fast_serialize
stringWhether to enable Swoole fast_serialize.
swoole.unixsock_buffer_size
intBuffer size of Unix socket.
swoole.use_namespace
stringWhether to use PHP namespaces
swoole.enable_coroutine
stringWhether to enable coroutine
swoole.use_shortname
stringWhether to enable short aliases
swoole.enable_preemptive_scheduler
stringWhether to enable preemptive scheduler
swoole.enable_library
stringWhether to enable library