PHP 本地虚拟域名配置

  • 修改hosts (C:\Windows\System32\drivers\etc\hosts)

  • 修改Apache (D:\Soft\here_WAMPServer\bin\apache\apache2.4.41\conf\httpd.conf)


  • 添加虚拟域名 (D:\Soft\here_WAMPServer\bin\apache\apache2.4.41\conf\extra\httpd-vhosts.conf)

  • 访问测试

  • 修改路由

posted @ 2020-12-25 16:21  KevinTseng  阅读(161)  评论(0编辑  收藏  举报