absent 发表于 2012-3-28 23:05:56

SUSE安装,启动php-fpm时出现错误,错误如下!

# /etc/init.d/php-fpm start
Starting php_fpm Error in argument 1, char 1: no argument for option -
Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f <file>]
       php-cgi <file>
-a               Run interactively
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C               Do not chdir to the script's directory
-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
-f <file>      Parse <file>.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 <file>      Load Zend extension <file>.
-T <count>       Measure execution time of script repeated <count> times.
.
.
................................. failed

安装PHP时的配置如下
./configure--prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv=/usr/local/iconv --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr/local/libxml --enable-xml --with-mcrypt=/usr/local/mcrypt --enable-ftp --with-gd=/usr/local/gd --disable-rpath --enable-discard-path --enable-magic-quotes--enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem--enable-inline-optimization --with-curl=/usr/local/curl --with-curlwrappers--enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect--enable-mbstring --enable-gd-native-ttf --with-openssl--with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip--enable-soap --without-pear --with-gettext --with-mime-magic

[ 本帖最后由 absent 于 2012-3-28 23:10 编辑 ]

licess 发表于 2012-3-29 08:53:15

不清楚,目前不支持suse也未测试过

absent 发表于 2012-3-29 09:15:28

好吧,我在尝试中,我在OPENSUE中能够使用,我想在SUSE enterprises也可以用

好吧,我在尝试中,我在OPENSUE中能够使用,我想在SUSE enterprises也可以用
页: [1]
查看完整版本: SUSE安装,启动php-fpm时出现错误,错误如下!