Web服务启停
在修改php参数等操作中,经常要去重启Web服务,下面做一个专门的说明:
Linux系统
Linux下请通过WinSCP的命令终端窗口输入服务的启动、停止和重启操作
--LAMP
systemctl restart httpd //重启http服务
systemctl stop httpd //停止http服务
systemctl start httpd //启动http服务
--LNMP
systemctl restart nginx //重启nginx
systemctl restart php-fpm //重启php-fpm
Windows系统
Windows下的镜像采用图形化界面实现服务的启动、停止和重启操作
--IIS
进入IIS,点击主机名称,右侧的操作就会显示重启启动,停止等操作
--WAMPServer
远程桌面点击WAMPServer图标,然后点击“重新启动所有服务”