Failed to start php-fpm.service: Unit not found.

1 查找 php-fpm

find / -name init.d.php-fpm

/root/php-7.4.4/sapi/fpm/init.d.php-fpm

2 执行

cp /root/php-7.4.4/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm

chmod a+x /etc/init.d/php-fpm

 

posted @ 2020-07-06 11:01  hubb  阅读(8937)  评论(0编辑  收藏  举报