CakeFest 2024: The Official CakePHP Conference

Configuración en tiempo de ejecución

El comportamiento de estas funciones se ve afectado por la configuración de php.ini.

Swoole Opciones de configuración
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 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

swoole.enable_coroutine string

Whether to enable coroutine

swoole.use_shortname string

Whether to enable short aliases

swoole.enable_preemptive_scheduler string

Whether to enable preemptive scheduler

swoole.enable_library string

Whether to enable library

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top