zzz2738 发表于 2013-08-06 13:39

php-fpm start failed

configure:
./configure --prefix=/data/soft/php --with-config-file-path=/data/soft/php/etc --with-mysql=/data/soft/mysql --with-mysqli=/data/soft/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap

weishuo1999 发表于 2013-08-06 15:25

直接service php-fpm start吧, php-fpm就不支持start的参数

zzz2738 发表于 2013-08-06 15:38

直接service php-fpm start 提出unrecognized service啊。回复 2# weishuo1999


   

bikong0411 发表于 2013-08-07 08:50

直接/data/soft/php/sbin/php-fpm -y /path/to/php-fpm.conf就可以了,-y /path/to/php-fpm.conf去掉用默认的conf文件

zzz2738 发表于 2013-08-07 14:00

本帖最后由 zzz2738 于 2013-08-09 14:15 编辑

回复 4# bikong0411


   

zy407321952 发表于 2013-08-07 15:32

编译目录下sapi/fpm/init.d.php-fpm不是有启动脚本么,拷贝过去不就行啦。

zzz2738 发表于 2013-08-09 14:25

本帖最后由 zzz2738 于 2013-08-09 15:24 编辑

你好,sapi目下没有你说的fpm目录,我这边这边能找到/data/soft/php-5.2.17/sapi/cgi/fmp/init.d/php-fmp.in这个.回复 6# zy407321952


   

飞鸿无痕 发表于 2013-08-11 22:48

貌似最近版面有店乱,不是mysql的帖子也到mysql版面来了。

zzz2738 发表于 2013-08-12 13:53

sorry,下次不会了。回复 8# 飞鸿无痕


   
页: [1]
查看完整版本: php-fpm start failed