lanmp_wdcp_v2.4 RPM安装,后台wdcp升级到了7.20日的最新版。lnamp环境。apache正常,apache+nginx正常,就是切换到nginx的时候不正常。网站显示502 Bad Gateway。PHP网站打不开,html可以。
系统32位的centos 6 和64位的WDOS最小化版(wdcp后装的) 都不可以。
以下是错误信息。
nginx を起動中: [ OK ]
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> [args...]
-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作者: admin 时间: 2012-7-24 15:41