allenjohn 发表于 2015-1-21 10:31:15

php5.3 重启的时候提示/etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: No such

# ./lnmp restart
=========================================================================
Manager for LNMP V1.1,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...
Stoping nginx...done
Shutting down php_fpm warning, no pid file found - php-fpm is not running ?
Shutting down MySQL. SUCCESS!
Starting LNMP...
Starting nginx...done
Starting php_fpm /etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: No such file or directory
failed
Starting MySQL.. SUCCESS!

licess 发表于 2015-1-21 19:30:29

php 5.3没/usr/local/php/bin/php-cgi 很正常,php-cgi是php5.2下的
可能你升级的时候/etc/init.d/php-fpm没cp过去或有其他错误导致没替换为新的
页: [1]
查看完整版本: php5.3 重启的时候提示/etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: No such