php8.5
Home/ Manual/ fpm / functions/ fpm_get_status

fpm_get_status

PHP function Edit on GitHub ✎

(PHP 7 >= 7.3, PHP 8)

Returns the current FPM pool status

Description

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.

Parameters Parameters

Return Values

Associative array containing the full FPM pool status,Falseforfailure.

Source: reference/fpm/functions/fpm-get-status.xml · from the official PHP manual (php/doc-en)