WampServer中localhost无法打开怎么办

解决WampServer无法打开localhost问题

在wamp中打开localhost时界面是这样的
WampServer中localhost无法打开怎么办_第1张图片

  1. 这时我们需要打开Apache配置文件中的httpd.conf
    WampServer中localhost无法打开怎么办_第2张图片

2.用记事本打开它,然后ctrl+F搜索online找到以下配置
WampServer中localhost无法打开怎么办_第3张图片
3.做出以下修改
WampServer中localhost无法打开怎么办_第4张图片
4.然后我们保存修改后的配置文件,重新启动所有服务,点击localhost我们发现我们可以打开localhost了
WampServer中localhost无法打开怎么办_第5张图片
5.但是我们发现PHPadmin还是打不开,所有我们还需要将PHPadmin配置文件也修改一下(注意路径)
WampServer中localhost无法打开怎么办_第6张图片
6.做出以下修改
WampServer中localhost无法打开怎么办_第7张图片
我们就发现PHPadmin也可以打开了
WampServer中localhost无法打开怎么办_第8张图片
你好,我是仙龙,一名CSDN新手,喜欢我的话可以关注我一起get新的知识哟

你可能感兴趣的:(文章)