1.定位到安装目录
在cmd中定位到wampserver的安装目录,如:D:wampinapacheApache2.4.4in
2.执行命令
启动apache命令httpd -k start -n "wampapache"--------------------------------停止apache命令httpd -k stop -n "wampapache"