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