Skip to content

Instantly share code, notes, and snippets.

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 AysadKozanoglu/a2d02c27dff124b410e648f2fdcd99f4 to your computer and use it in GitHub Desktop.
Save AysadKozanoglu/a2d02c27dff124b410e648f2fdcd99f4 to your computer and use it in GitHub Desktop.
php-fpm socket get status of workers
# first install package
# apt install libfcgi-bin -y
sudo -u www-data bash -c "export SCRIPT_NAME=/status; export SCRIPT_FILENAME=/status; export QUERY_STRING=full; export REQUEST_METHOD=GET; cgi-fcgi -bind -connect /var/run/php/php7.3-fpm-www.sock"
# see documentation here:
#http://aysad.cloudns.cc/php/fpm/status/check/console/howto/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment