I ran the following command:
/usr/local/php/sbin/php-fpm start but the output is:
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix> ] [-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/webserver/php). -y, --fpm-config <file> Specify alternative path to FastCGI process manager config file. -t, --test Test FPM configuration and exit Is there anyone who has knowledge about this problem? Any advice appreciated!
Updated:
OS : CentOS 5.6 PHP: 5.3.6
I tried /usr/local/php/sbin/php-fpm and it works! Why?
I installed PHP with its source code.
startto work?startwon't work with it. It was a comment, not an answer. You, on the other hand, went ahead explaining how start will magically work by putting the program name in an init script, without even explaining why. Stop being daft.