New Function
fpm_get_status()
in PHP-FPM
When running PHP using FPM, the FastCGI process manager, a new
function is available since PHP 7.3, namely
fpm_get_status()
. Note that this function is not
available when running PHP at the command line:
PHP Fatal error: Uncaught Error: Call to undefined function fpm_get_status() in ...
When run inside FPM, the function will return the FPM status information that also makes up the FPM status page, allowing for building advanced status pages.