Linux uses lnmp to report to Unable to open primary script

reported error
2018/10/12 16:33:44 [crit] 5351-sharp0: *121 stat() "/root/wwwroot/test/1.html" failed (13: Permission denied), client: 127.0.0.1, server: input.cc, request: "GET /1.html HTTP/1.1", host: "input.cc"
2018/10/12 16:33:44 [error] 5351-sharp0: *121 FastCGI sent in stderr: "Unable to open primary script: /root/wwwroot/test/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: input.cc, request: "GET /1.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "input.cc"
2018/10/12 16:33:44 [info] 5351-sharp0: *121 client 127.0.0.1 closed keepalive connection
2018/10/12 16:33:47 [error] 5351-sharp0: *123 FastCGI sent in stderr: "Unable to open primary script: /root/wwwroot/test/2.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: input.cc, request: "GET /2.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "input.cc"
2018/10/12 16:33:47 [info] 5351-sharp0: *123 client 127.0.0.1 closed keepalive connection
configuration of nginx site

clipboard.png

nginx, php-fpmwww

clipboard.png

clipboard.png

clipboard.png

nginx

clipboard.png

I thought it was a permission problem, but I also set permissions, or reported an error. I don"t know what the problem is.
Aug.16,2021

is there anything wrong with determining the file path? Is it really / root/wwwroot/test/index.php ?


I have the same problem. Has the landlord solved it?

Menu