无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/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
不知道为什么,管理员帮忙解决一下吧,网站都瘫了,非常急,谢谢了。

在哪个目录下执行gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -fd php-5.2.17 -p1

TOP

一直在等着您上线呢

TOP

不行啊,我已经执行这个命令
[root@sky lanmp]# pwd
/usr/src/lanmp/lanmp
[root@sky lanmp]# gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -fd php-5.2.17 -p1
执行成功,然后
[root@sky lanmp]# cd php-5.2.17
[root@sky php-5.2.17]# ./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   
还是报错
config.status: executing default commands
configure: WARNING: unrecognized options: --enable-fpm, --with-fpm-conf
是不是我的编译参数有问题呢?

TOP

管理员大哥我给您发短消息了,您方便的话上我服务上看一下,谢谢了。

TOP

可否加你qq,你给我修复之后12:12左右恢复了,但现在数据库报错连接不上

TOP

好了,恢复了,刚才不知道咋弄的mysql服务停止了,谢谢大哥了,一定帮大哥宣传

TOP

我想问一下您是怎么解决的呀

TOP

返回列表