Ps: _ www5080.0020.24615081320 ?? S10: 46. 00 nginx: workerprocess_www5070.004152452292952 ?? S10: 46. 80 nginx: workerprocessroot5060.0020.2442864348 ?... Ps:
_ Www 508 0.0 0.0 2461508 1320 ?? S pm. 00 nginx: worker process
_ Www 507 0.0 0.0 2452292 952 ?? S pm. 80 nginx: worker process
Root 506 0.0 0.0 2442864 348 ?? Ss pm. 00 nginx: master process nginx
My document directory is:/Users/Abner/Documents/work/code/ququ/MS
After nginx and php-fpm are configured, the browser accesses: File not found.
View logs:
23:42:45 [crit] 508 #0: * 9 stat () "/Users/Abner/Documents/work/code/ququ/MS/" failed (13: Permission denied ), client: Wagner. 0.0.1, server: a.ququ.com, request: "GET/HTTP/1.1", host: "a.ququ.com"
23:42:45 [error] 508 #0: * 9 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: a.ququ.com, request: "GET/HTTP/1.1", upstream: "fastcgi: // 127.0.0.1: 9000", host: "a.ququ.com"
Directory permission checked: 704172 drwxr-xr-x 9 Abner staff 306 6 30 MS
755. In principle, data can be read.
But all of them are File not found. Thank you for your guidance.
Reply content:
Ps:
_ Www 508 0.0 0.0 2461508 1320 ?? S pm. 00 nginx: worker process
_ Www 507 0.0 0.0 2452292 952 ?? S pm. 80 nginx: worker process
Root 506 0.0 0.0 2442864 348 ?? Ss pm. 00 nginx: master process nginx
My document directory is:/Users/Abner/Documents/work/code/ququ/MS
After nginx and php-fpm are configured, the browser accesses: File not found.
View logs:
23:42:45 [crit] 508 #0: * 9 stat () "/Users/Abner/Documents/work/code/ququ/MS/" failed (13: Permission denied ), client: Wagner. 0.0.1, server: a.ququ.com, request: "GET/HTTP/1.1", host: "a.ququ.com"
23:42:45 [error] 508 #0: * 9 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: a.ququ.com, request: "GET/HTTP/1.1", upstream: "fastcgi: // 127.0.0.1: 9000", host: "a.ququ.com"
Directory permission checked: 704172 drwxr-xr-x 9 Abner staff 306 6 30 MS
755. In principle, data can be read.
But all of them are File not found. Thank you for your guidance.
/Users/Abner/Documents/work/code/ququ/MS
These paths must be viewed layer by layer to see if each layer has permissions, not just the last directory.