因为很多本地网站都是边测试边写,所以为了以后路径问题别麻烦,就直接把本地网站写成xxx.com这样,不要用localhost,这时候用phpstudy集成工具来部署环境

这时候phpstudy域名站点设置

这时候进去设置,设置之后一定要重启一下服务

phpstudy域名站点设置

然后打开hosts

phpstudy域名站点设置

然后设置一下重启服务就可以在浏览器直接打你自己设置的网址访问本地网站了

phpstudy域名站点设置



相关文章:

  • 2021-05-05
  • 2021-11-18
  • 2021-11-18
  • 2021-11-18
  • 2021-11-18
  • 2021-07-20
  • 2021-11-18
猜你喜欢
  • 2021-11-18
  • 2021-05-22
  • 2021-05-22
  • 2021-08-20
  • 2021-11-18
  • 2021-12-03
  • 2021-06-29
相关资源
相似解决方案