xmetoo 发表于 2012-5-17 19:50:58

/usr/local/php/sbin/php-fpm 目录问题,无法启动服务,502错误

/usr/local/php/sbin/php-fpm: 没有那个文件或目录;-bash: /ect/init.d/php-fpm: No such file or directory;


ko@ko-VirtualBox:~$ sudo /root/lnmp status
=========================================================================
Manager for LNMP V0.9,Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
php-fpm is stop!
* MySQL running (20186)


下面是重启命令后的状态提示,.

ko@ko-VirtualBox:~$ sudo /root/lnmp restart
=========================================================================
Manager for LNMP V0.9,Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
PHP-FPM program is not runing!
Shutting down MySQL
. *
MySQL program is stop
Starting LNMP...
nginx: conflicting server name "zhis.org" on 0.0.0.0:80, ignored
Nginx start successfully!
/root/lnmp: 行 46: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
PHP-FPM start successfully!
Starting MySQL
. *
MySQL start successfully!


,本人菜鸟,请求解答.

xmetoo 发表于 2012-5-17 20:29:20

已解决!!

哈哈,升级PHP 到最新的5.4.3就OK了!!我勒个去!!!:) :victory:
页: [1]
查看完整版本: /usr/local/php/sbin/php-fpm 目录问题,无法启动服务,502错误