版本:phpstudy 2018

报错:500 Internal Server Error

原因:手动选择路径的时候,产生了斜杠不同  (正确:"D:/phpStudy/PHPTutorial/WWW/thinkphp50/public")  错误(“D:\phpStudy\PHPTutorial\WWW\composer\tp51\public”)

解决办法:找到nginx的配置文件,改正路径就行

// 错误    \
root   "D:\phpStudy\PHPTutorial\WWW\composer\tp51\public";  // phpstudy 留下的一个小bug
// 正确   /
root   "D:/phpStudy/PHPTutorial/WWW/thinkphp50/public";

 

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2021-06-02
  • 2021-11-11
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2022-12-23
  • 2021-09-29
  • 2021-06-30
  • 2022-12-23
  • 2021-08-07
  • 2021-08-07
相关资源
相似解决方案