php-fpm start error
- by Sujay
I am using php-fpm. I recently recompiled php for including imap functions. But on php-fpm start it gives the following error:
  Starting php_fpm Error in argument 1,
  char 1: no argument for option -
  Usage: php-cgi [-q] [-h] [-s] [-v]
  [-i] [-f ] php-cgi [args...]
  -a Run
  interactively
  -C Do not chdir to the
  script's directory
  -c | 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
  -f Parse . Implies
  `-q'
  -h This help -i PHP information
  -l Syntax check only (lint)
  -m Show compiled in modules 
  -q Quiet-mode. Suppress HTTP Header output.
  -s Display colour syntax highlighted source.
  -v Version number
  -w Display
  source with stripped comments and
  whitespace.
  -z Load Zend extension
  ...................................
  failed
What could be the problem? Is it in php-fpm.conf or php.ini.