linux centos7 怎么重启php-fpm

高分请问一下,linux centos7 怎么重启php-fpm
最新回答
把酒不离食

2024-04-15 02:41:47

/etc/init.d/php-fpm start
/etc/init.d/php-fpm stop
/etc/init.d/php-fpm restart
/etc/init.d/php-fpm reload

apache
启动


systemctl start httpd
停止


systemctl stop httpd
重启


systemctl restart httpdmysql启动


systemctl start mysqld停止


systemctl stop mysqld
重启


systemctl restart mysqld


php-fpm
启动


systemctl start php-fpm
停止


systemctl stop php-fpm
重启


systemctl restart php-fpmnginx
启动


systemctl start nginx
停止


systemctl stop nginx
重启


systemctl restart nginx

迩璇大爺哟ˇ

2024-04-15 01:24:41

centos7 启动停止服务使用这个 systemctl 命令了,有service 命令的话用也可以。最主要看下提示,不行就用路径方式
systemctl restart php-fpm.service
北港不夏

2024-04-15 08:08:39

service php-fpm restart