1.把需要启动的服务文件copy到/etc/init.d下 2.添加可执行权限 3.chmod a+x /etc/init.d/php-fpm 4.chkconfig --add php-fpm 5.chkconfig php-fpm on 6.chkconfig --list