Configuración en tiempo de ejecución

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

Opciones de configuración de Swoole
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 Disponible a partir de swoole 4.0.0
swoole.use_shortname On INI_ALL Disponible a partir de swoole 4.0.0
swoole.enable_preemptive_scheduler Off INI_ALL Disponible a partir de swoole 4.4.0
swoole.enable_library On INI_ALL Disponible a partir de swoole 4.0.0

He aquí una breve explicación de las directivas de configuración.

swoole.aio_thread_num int

El número de threads POSIX asíncronos I/O

swoole.display_errors string

Esto determina si los errores de Swoole deben ser mostrados en pantalla.

swoole.fast_serialize string

Activa o no la serialización rápida de Swoole (fast_serialize).

swoole.unixsock_buffer_size int

El tamaño del buffer de socket Unix.

swoole.use_namespace string

Utiliza o no los espacios de nombres PHP

swoole.enable_coroutine string

Activa o no la coroutine

swoole.use_shortname string

Activa o no los alias cortos

swoole.enable_preemptive_scheduler string

Activa o no el planificador preemptivo

swoole.enable_library string

Activa o no la biblioteca

add a note

User Contributed Notes

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