编程爱好者之家

centos7中常用操作PHP的命令

2018-08-19 14:42:34 468

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

同类文章