Skip to content

Instantly share code, notes, and snippets.

@ajbonner
Last active August 2, 2017 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajbonner/1ad1f770ba2ed3aa41964f992ae09d6e to your computer and use it in GitHub Desktop.
Save ajbonner/1ad1f770ba2ed3aa41964f992ae09d6e to your computer and use it in GitHub Desktop.
PHP-FPM Status from CLI
sudo -u www-data \
SCRIPT_NAME=/status \
SCRIPT_FILENAME=/status \
REQUEST_METHOD=GET \
QUERY_STRING=full \
cgi-fcgi -bind -connect /var/run/php/php7.0-fpm.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment