今天在win下玩nginx的时候 提示500错误

看了下nginx的logs  提示

123: The filename, directory name, or volume label syntax is incorrect

然后 发现别的网站都没问题  今天加的网站就出问题了

原来别的网站目录没有那么深 也就是3层

今天用tp5配置的多了一层public  查了查 是反斜杠的问题

把所有win下的改成linux下的斜杠即可

  root   "G:/phpStudy/PHPTutorial/WWW/newbc/public";

 

相关文章:

  • 2021-07-17
  • 2021-07-26
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-28
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案