1.打开运行WampServer3.0.4,鼠标移到wampserver上去,单击右键,出来个wamp Settings, 按照如图所示,选择Menu item : Online / Offline.OK,添加成功 2.鼠标移到wampserver上去,单击鼠标左键,依次单击选择Apache -> httpd-vhosts.conf 3.打开“httpd-vhosts”文件,找到 Require local,并用“Require all granted”代替它,保存,关闭,如图所示 4.重启ap