提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[求助] 重新编译php后重启nginxd服务报错,急!!!
我想添加sockets模块但重新编译php后重启nginxd服务报错,php_fpm服务器起不来
[root@sky php-5.2.17]# service nginxd restart
Stopping nginx: [ OK ]
Shutting down php_fpm warning, no pid file found - php-fpm is not running ?
Starting 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
-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>.
..............^C
下面是我重新编译添加的参数:
./configure --prefix=/www/wdlinux/php-5.2.17 --with-config-file-path=/www/wdlinux/etc --with-mysql=/www/wdlinux/mysql --with-iconv=/usr --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt=/usr --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-ftp --enable-sockets --enable-force-cgi-redirect --enable-fastcgi --enable-fpm --with-fpm-conf=/www/wdlinux/etc/php-fpm.conf
其他地方没有做任何修改,编译的时候提示
configure: WARNING: unrecognized options: --enable-fpm, --with-fpm-conf
不知道为什么,管理员帮忙解决一下吧,网站都瘫了,非常急,谢谢了。 |