php require persion denied,php,nginx_php+nginx配置权限问题(13: Permission denied),php,nginx - phpStudy...

php+nginx配置权限问题(13: Permission denied)

ps查看nginx数据:

_www 508 0.0 0.0 2461508 1320 ?? S 10:46下午 0:00.00 nginx: worker process

_www 507 0.0 0.0 2452292 952 ?? S 10:46下午 0:00.80 nginx: worker process

root 506 0.0 0.0 2442864 348 ?? Ss 10:46下午 0:00.00 nginx: master process nginx

我的文档目录为:/Users/Abner/Documents/work/code/ququ/ms

nginx,php-fpm配置好后,浏览器访问:File not found.

查看日志:

2014/07/01 23:42:45 [crit] 508#0: *9 stat() "/Users/Abner/Documents/work/code/ququ/ms/" failed (13: Permission denied), client: 127.0.0.1, server: a.ququ.com, request: "GET / HTTP/1.1", host: "a.ququ.com"

2014/07/01 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"

查了目录权限:704172 drwxr-xr-x 9 Abner staff 306 6 30 14:54 ms

755,按道理说是可以读数据啊。

但是怎么都是File not found,还请各位大神指导,多谢

相关阅读:

如何在django中使用ansible-playbook命令执行yaml 文件

web app里面的弹层为什么不常见?

AngularJS v1.4x版本,使用ng-if进行非空判断时会在ajax回调之前执行,如果数据非空那么元素会闪烁。

windows 下最好的命令行方案是什么?

如何调试HLSL编写的shader?

如何生成字符字

avalon写过滤器的时候,如果过滤的当前值为真假时,为假的值不显示是怎么回事?

如何设置背景色和前景色才能保证颜色不会混淆?

为什么图像无法显示?

HTTP/2 Server Push 如何利用?

vue官网蹦了吗

能否使用JavaScript来ping一个IP?

IntelliJ中写 CoffeeScript, 如何将 File Watcher 生成JS 文件输出到指定的目录?

错误日志RetryHandler.retryRequest: retry error, curr request is null

A拥有多个C,B拥有多个C,一个C只能属于A或者B,如何建立关系?

thinkPHP if标签 怎么判断图片存在不存在??

python splinter一运行就No module named browser

怎么样学习bootstrap源码呢?

django-1.3在windows系统环境下的一个出错?'SafeUnicode' object has no attribute 'status_code'

JS可以检测Safari浏览器是正常模式浏览,还是隐私模式浏览么?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值