PHP 8.4.1 Released!

fpm_get_status

(PHP 7 >= 7.3, PHP 8)

fpm_get_statusReturns the current FPM pool status

Açıklama

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.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Associative array containing the full FPM pool status, başarısızlık durumunda false döner.

add a note

User Contributed Notes 1 note

up
5
Ehsan Chavoshi
1 year ago
Use this script to get a single page for fpm status:
https://gist.github.com/EhsanCh/97187902e905a308ce434bda6730073c
To Top