Home  >  Article  >  Operation and Maintenance  >  phpstudy500 error

phpstudy500 error

尚
Original
2019-10-30 14:49:238282browse

phpstudy500 error

phpstudy500 error:

Version: phpstudy 2018

Error: 500 Internal Server Error

Cause: When manually selecting the path , resulting in different slashes (correct: "D:/phpStudy/PHPTutorial/WWW/thinkphp50/public") error ("D:\phpStudy\PHPTutorial\WWW\composer\tp51\public")

Solution Method: Find the nginx configuration file and correct the path

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

Recommendation: php server

The above is the detailed content of phpstudy500 error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn