centos7中常用操作PHP的命令

1.操作PHP

/etc/init.d/php-fpm restart  //重启PHP

/etc/init.d/php-fpm start  //启动PHP

/etc/init.d/php-fpm stop  //停止PHP



2.操作ngnix

systemctl start ngnix  //启动ngnix

systemctl restart ngnix  //重启ngnix

systemctl restart ngnix  //停止ngnix



3.操作mysql

 systemctl restart mysqld //重启mysql

 systemctl start mysqld //启动mysql

 systemctl stop mysqld //停止mysql

原文来源:https://www.codelovers.cn/article/20180819144234.html

猜你喜欢

转载自blog.csdn.net/tangjuntangjun/article/details/82017467
今日推荐