环境:
VirtualBox最新版
centos6.5
nginx1.4.4
php-fpm5.3.3
mysql5.1
phpmyadmin最新版
虚拟主机配置
server { listen 80; server_name db.dev www.db.dev; charset utf8; access_log /var/log/nginx/db.dev.access.log main; error_log /var/log/nginx/db.dev.error.log debug; location / { root /home/www/db.dev; index index.html index.htm index.php; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/www/db.dev$fastcgi_script_name; include fastcgi_params; } }错误码:
2013/12/20 10:34:46 [info] 1394#0: *115 client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: 192.168.56.101, server: db.dev, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "db.dev"
20 root html;没用哦问题找到了,是phpmyadmin版本太高了,都怪自己下载的时候不长眼.
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。