Status PageThis page provides information on the setup and contents of the FPM status page. See also fpm_get_status. ConfigurationThe FPM status page can be enabled by setting the pm.status_path configuration parameter in the FPM pool configuration. Caution
For security the FPM status page should be restricted to internal requests or known client IPs only as the page reveals request URLs and information about available resources.
Depending on the web server configuration it might be needed to configure the web server to
allow requests directly to this path, bypassing any PHP scripts. An example of a configuration
for Apache with FPM listening on UDS and <LocationMatch "/fpm-status"> Order Allow,Deny Allow from 127.0.0.1 ProxyPass "unix:/var/run/php-fpm.sock|fcgi://localhost/fpm-status" </LocationMatch> After reloading or restarting both FPM and the web server the status page will be accessible from the browser (as long as the request comes from an allowed IP address if the IP restriction was configured). Query ParametersThe format of the status page output can be altered by specifying one of the following query parameters:
Additional information can also be returned using the Example status page URLs:
Displayed Information
Date/Time values use the unix timestamp format in JSON and XML output, otherwise they use
the format resulting in the following example date
Changelog
|