💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# php.ini选项 swoole.enable_coroutine --- `On`, `Off` 开关内置协程, 默认开启 swoole.aio_thread_num ---- 设置`AIO`异步文件读写的线程数量,默认为`2` swoole.display_errors --- 关闭/开启`Swoole`错误信息,默认开启 swoole.socket_buffer_size ------ 设置进程间通信的`Socket`缓存区尺寸,默认为`8M` swoole.fast_serialize ------ swoole_server中的task功能中是否使用swoole_serialize对异步任务数据序列化 swoole.use_shortname ----- 是否启用短别名。 类名映射关系 ---- <table> <thead> <tr> <th>下划线类名风格</th> <th>命名空间风格</th> </tr> </thead> <tbody> <tr><td>swoole_server</td><td>Swoole\Server</td></tr> <tr><td>swoole_client</td><td>Swoole\Client</td></tr> <tr><td>swoole_process</td><td>Swoole\Process</td></tr> <tr><td>swoole_timer</td><td>Swoole\Timer</td></tr> <tr><td>swoole_table</td><td>Swoole\Table</td></tr> <tr><td>swoole_lock</td><td>Swoole\Lock</td></tr> <tr><td>swoole_atomic</td><td>Swoole\Atomic</td></tr> <tr><td>swoole_buffer</td><td>Swoole\Buffer</td></tr> <tr><td>swoole_redis</td><td>Swoole\Redis</td></tr> <tr><td>swoole_event</td><td>Swoole\Event</td></tr> <tr><td>swoole_mysql</td><td>Swoole\MySQL</td></tr> <tr><td>swoole_mmap</td><td>Swoole\Mmap</td></tr> <tr><td>swoole_channel</td><td>Swoole\Channel</td></tr> <tr><td>swoole_serialize</td><td>Swoole\Serialize</td></tr> <tr><td>swoole_http_server</td><td>Swoole\Http\Server</td></tr> <tr><td>swoole_http_client</td><td>Swoole\Http\Client</td></tr> <tr><td>swoole_http_request</td><td>Swoole\Http\Request</td></tr> <tr><td>swoole_http_response</td><td>Swoole\Http\Response</td></tr> <tr><td>swoole_websocket_server</td><td>Swoole\WebSocket\Server</td></tr> </tbody> </table> > 需要swoole-1.8.1或更高版本