Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Server::sendwaitSwoole\Server::shutdown>
^Swoole\ServerLast updated: Mon, 26 Oct 2026

Swoole\Server::set

(PECL swoole >= 1.9.0)

Swoole\Server::set — Set the runtime settings of the swoole server.

Description

public function Swoole\Server::set(array $settings): ReturnType

Set the runtime settings of the swoole server. The settings can be accessed by $server->setting when the swoole server has started.

Parameters

settings

Return Values


<Swoole\Server::sendwaitSwoole\Server::shutdown>
^Swoole\ServerLast updated: Mon, 26 Oct 2026