phpstudy 用nginx,报500,错误日志:CreateFile

版权声明:廖圣平博客,未经博主允许不得转载。企鹅:1194008361 https://blog.csdn.net/qq_22823581/article/details/88121880

查看nginx 错误日志:

 GetFileAttributesEx() "D:\linuxdir\php	est" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: test.test, request: "GET / HTTP/1.1", host: "test.test"
2019/03/04 15:59:15 [crit] 3860#3096: *22 CreateFile() "D:\linuxdir\php	est/favicon.ico" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: test.test, request: "GET /favicon.ico HTTP/1.1", host: "test.test", referrer: "http://test.test/"

解决方案:

打开:vhosts.conf

在这里插入图片描述

在项目目录前面 添加 \解决

再次访问,500错误不存在了,可以正常访问了,所以,在ngnix配置文件里要注意不要有转义符。

没有更多推荐了,返回首页