- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2011-2-22
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
debian 6.0 32位
初始未安装Nginx,Apache,Mysql,Php相关软件使用root登录 按照要求安装
查看状态 提示lnmp 运行正常 mysql 正常1277
eAcceleratorionCube
执行安装过
ftp未安装
虚拟主机也没安装
403问题 权限为6 设置为664即可 但是php文件即使设置为777依旧报错502 我不是很懂 求高手指教设置 谢谢 qq:87754453
但是本地127.0.0.1 访问提示
403 Forbiddennginx/0.7.67
index.html文件存在
如果访问探测文件127.0.0.1/p.php 提示
502 Bad Gatewaynginx/0.7.67
p.php存在
如果访问不存在文件会正确提示
404 Not Foundnginx/0.7.67
查看php.ini文件时发现php的 文件夹下只有etc文件夹 无其他文件夹
求高手相助
谢谢
以下为日志 内网地址为192.168.0.100 内网98访问提示相同
2011/02/22 20:48:36 [crit] 20332#0: *10 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:48:40 [crit] 20332#0: *13 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:48:56 [crit] 20332#0: *16 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:49:00 [crit] 20332#0: *18 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:52:09 [crit] 20332#0: *21 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:52:11 [crit] 20332#0: *24 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:52:13 [crit] 20332#0: *27 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:56:25 [crit] 20332#0: *48 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "www.5iacg.com"
2011/02/22 20:57:46 [crit] 20332#0: *60 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 20:59:03 [crit] 20332#0: *62 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.1.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.1.1"
2011/02/22 21:00:20 [emerg] 21207#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/02/22 21:00:20 [emerg] 21207#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/02/22 21:00:20 [emerg] 21207#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/02/22 21:00:20 [emerg] 21207#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/02/22 21:00:20 [emerg] 21207#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2011/02/22 21:00:20 [emerg] 21207#0: still could not bind()
2011/02/22 21:09:37 [crit] 1892#0: *2 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.98, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "192.168.0.100"
2011/02/22 21:09:42 [crit] 1892#0: *2 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.98, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "192.168.0.100"
2011/02/22 21:11:23 [crit] 1892#0: *7 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
2011/02/22 21:27:27 [crit] 1892#0: *10 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: www.5iacg.com, request: "GET /p.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "127.0.0.1"
[ 本帖最后由 5iacg 于 2011-2-22 23:37 编辑 ] |
|