Created
December 14, 2023 01:03
-
-
Save AysadKozanoglu/a2d02c27dff124b410e648f2fdcd99f4 to your computer and use it in GitHub Desktop.
php-fpm socket get status of workers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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