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}

 

posted @ 2018-02-07 14:15  瑛雄  阅读(259)  评论(0编辑  收藏  举报