array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.fpm-get-status.php', 1 => 'fpm_get_status', 2 => 'Returns the current FPM pool status', ), 'up' => array ( 0 => 'ref.fpm.php', 1 => 'Функції FPM', ), 'prev' => array ( 0 => 'function.fastcgi-finish-request.php', 1 => 'fastcgi_finish_request', ), 'next' => array ( 0 => 'refs.basic.session.php', 1 => 'Розширення для роботи зі сесіями', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fpm/functions/fpm-get-status.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fpm_get_status

(PHP 7 >= 7.3, PHP 8)

fpm_get_statusReturns the current FPM pool status

Опис

fpm_get_status(): array|false

This function returns the full current FPM pool status as an associative array. It always returns the full status, including per-process status information. See the FPM status page guide for further details.

Note that this function will only be defined if FPM is being used to serve the script.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Associative array containing the full FPM pool status, або false в разі помилки.