lnmp下phpmyadmin报错

玟质兵兵 发布于 2013/12/20 11:46
阅读 654
收藏 0

环境:
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"



其它的虚拟主机都运行正常,只有这个有问题.

以下是问题补充:

@玟质兵兵:都是通过yum安装的 (2013/12/20 11:46)
加载中
0
z
zx32342342
20        root           html;
玟质兵兵
玟质兵兵
没用哦
0
玟质兵兵
玟质兵兵
问题找到了,是phpmyadmin版本太高了,都怪自己下载的时候不长眼.
返回顶部
顶部