centos php-fpm自启动 vim /etc/rc.local 在末尾添加: /usr/local/php73/sbin/php-fpm 若启动失败,添加权限 cd /etc/rc.d chmod +x rc.local