swoole-php-configuration-6

  • Installing/Configuring
  • Runtime Configuration

  • Runtime Configuration
  • Runtime Configuration

    Runtime Configuration

    The behaviour of these functions is affected by
    settings in php.ini.

    Swoole Configure Options
    Name Default Changeable Changelog
    swoole.aio_thread_num 2 PHP_INI_ALL
    swoole.display_errors On PHP_INI_ALL
    swoole.fast_serialize Off PHP_INI_ALL
    swoole.unixsock_buffer_size 8388608 PHP_INI_ALL
    swoole.use_namespace On PHP_INI_SYSTEM

    Here’s a short explanation of the configuration
    directives.

    swoole.aio_thread_num integer

    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 integer

    Buffer size of Unix socket.

    swoole.use_namespace string

    Whether to use PHP namespaces