Я настраиваю php-fpm на своей машине, и я установил его с помощью homebrew (в частности, homebrew-alt ). Все установлено нормально, и если я открываю терминал и набираю команду «php-fpm», он запускается нормально. К сожалению, если я попытаюсь запустить какие-либо команды, такие как «php-fpm stop», я получаю сообщение ниже. Кто-нибудь знает, что может быть причиной этого или как я могу заставить его работать? Если я попытаюсь убить процесс с помощью команды kill, он просто автоматически перезапустится.
Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-h This help
-i PHP information
-m Show compiled in modules
-v Version number
-p, --prefix <dir>
Specify alternative prefix path to FastCGI process manager (default: /usr/local/Cellar/php/5.3.8).
-g, --pid <file>
Specify the PID file location.
-y, --fpm-config <file>
Specify alternative path to FastCGI process manager config file.
-t, --test Test FPM configuration and exit