実行時設定
php.ini の設定により動作が変化します。
| 名前 | デフォルト | 変更可能 | 変更履歴 |
|---|---|---|---|
| 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 |
以下に設定ディレクティブに関する 簡単な説明を示します。
-
swoole.aio_thread_numinteger -
POSIX asynchronous I/O thread number
-
swoole.display_errorsstring -
This determines whether Swoole errors should be printed to the screen.
-
swoole.fast_serializestring -
Whether to enable Swoole fast_serialize.
-
swoole.unixsock_buffer_sizeinteger -
Buffer size of Unix socket.
-
swoole.use_namespacestring -
Whether to use PHP namespaces