phpstudy 500 Internal Server Error 解决办法

版本:phpstudy 2018php

报错:500 Internal Server Errornginx

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

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

// 错误    \
root   "D:\phpStudy\PHPTutorial\WWW\composer\tp51\public";  // phpstudy 留下的一个小bug
// 正确   /
root   "D:/phpStudy/PHPTutorial/WWW/thinkphp50/public";
相关文章
相关标签/搜索