Create PHP-FPM Status Page for nginx+php-fpm in directadmin

  • Go to Custom HTTPD Configuration
  • Select the php-fpm version you are running for the domain you want to see the status
  • Under the |Custom2| section add the line “pm.status_path = /status” (without quotes), click Save and go back to the Custom HTTPD Configuration Page

pm.status_path = /status

  • Click on the Domain name to edit the Nginx configuration file adding the following to the top(modify where necessary):

location ~ ^/(php-fpm-status)$ {
allow all;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/usr/local/php|PHP1_RELEASE|/sockets/|USER|.sock;

Example for detailed status page: