linux操作系统下,一些关于php常用指令

1、重启nginx指令

[root@iZwz9hleuavh1zkk5biyovZ /]# service nginx help
Usage: /etc/init.d/nginx {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}

2、重启mysql指令

[root@iZwz9hleuavh1zkk5biyovZ /]# service mysqld help
Usage: mysqld  {start|stop|restart|reload|force-reload|status}  [ MySQL server options ]

3、重启php指令

[root@iZwz9hleuavh1zkk5biyovZ /]# service php-fpm help
Usage: /etc/init.d/php-fpm {start|stop|force-quit|restart|reload|status}
希望大家共同进步,学习更多想学习的知识。
原文地址:https://www.cnblogs.com/lyzaidxh/p/10232959.html