系統(tǒng)管理 》命令運行 里執(zhí)行
service nginxd restart
service httpd restart
[root@localhost ~]# service nginxd restart
Stopping nginx: nginx: [warn] conflicting server name "cs.34mei.com" on 0.0.0.0:80, ignored
[ OK ]
Shutting down php_fpm . done
Starting nginx: nginx: [warn] conflicting server name "cs.34mei.com" on 0.0.0.0:80, ignored
[ OK ]
Starting php_fpm done
[root@localhost ~]# service httpd restart
httpd: unrecognized service