用phpstudy搭建网站,出现500错误怎么办?

发布时间:2020-03-17 21:55:47 作者:筱航科技 来源:本站 浏览量(312) 点赞(175)
摘要:phpstudy500错误:版本:phpstudy 2020,报错:500 Internal Server Error。原因:手动选择路径的时候,产生了斜杠不同 (正确:"D:/phpStudy/PHPTutorial/WWW/thinkphp50/public") 错误(“D:phpStudyPHPTutorialWWWcomposerp51public”

5db9317299c69516.jpg

phpstudy500错误:


版本:phpstudy 2020


报错:500 Internal Server Error


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


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

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


筱航科技主营业务: 长春网站建设 - 长春网站制作 -长春网站设计 -长春网站开发 -长春网站优化 -长春网站SEO - 长春网站推广 - 长春网络营销 - 长春网站关键词排名 -长春微信小程序 -长春微信商城 -长春分销商城

二维码

扫一扫,关注我们

声明:本文由【筱航科技】编辑上传发布,转载此文章须经作者同意,并请附上出处【筱航科技】及本页链接。如内容、图片有任何版权问题,请联系我们进行处理。

感兴趣吗?

欢迎联系我们,我们愿意为您解答任何有关网站疑难问题!

筱航科技-您身边的网站建设专家

搜索千万次不如咨询1次

主营项目:网站建设,网络营销,SEO优化,微信小程序开发,LOGO设计,产品包装设计,虚拟主机,域名注册,网站安全检测,微信商城等

立即咨询 184-4312-4181
在线客服
点此联系在线客服!