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