开发者社区> 问答> 正文

lnmp下phpmyadmin报错?报错

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



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

展开
收起
爱吃鱼的程序员 2020-06-22 13:44:20 616 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    20        root          html;没用哦问题找到了,是phpmyadmin版本太高了,都怪自己下载的时候不长眼.

    2020-06-22 13:44:36
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
低代码开发师(初级)实战教程 立即下载