php-fpm start error
Posted
by Sujay
on Server Fault
See other posts from Server Fault
or by Sujay
Published on 2009-11-15T15:40:25Z
Indexed on
2010/03/24
22:03 UTC
Read the original article
Hit count: 662
php
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.
© Server Fault or respective owner