nginx+phpmyadmin 打开一直加载不停的加载 /js/get_scripts.js.php


问题

代开phpmyadmin的网站,页面一直加载一直加载。加载了60s才出来。


 http://pma.xxx.com/js/get_scripts.js.php?token=663acc70a878851765491ede6e154ad4&scripts[]=jquery/jquery-1.8.3.min.js&scripts[]=sprintf.js&scripts[]=ajax.js&scripts[]=keyhandler.js&scripts[]=jquery/jquery-ui-1.9.2.custom.min.js&scripts[]=jquery/jquery.cookie.js&scripts[]=jquery/jquery.mousewheel.js&scripts[]=jquery/jquery.event.drag-2.2.js&scripts[]=jquery/jquery-ui-timepicker-addon.js&scripts[]=jquery/jquery.ba-hashchange-1.3.js&scripts[]=jquery/jquery.debounce-1.0.5.js&scripts[]=menu-resizer.js&scripts[]=cross_framing_protection.js&scripts[]=rte.js&scripts[]=tracekit/tracekit.js&scripts[]=error_report.js&scripts[]=doclinks.js&scripts[]=functions.js&scripts[]=navigation.js&scripts[]=indexes.js&scripts[]=common.js&scripts[]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/sql/sql.js&scripts[]=codemirror/addon/runmode/runmode.js&scripts[]=codemirror/addon/hint/show-hint.js&scripts[]=codemirror/addon/hint/sql-hint.js

环境


 [root@flxx home]# php-fpm -v
PHP 5.4.16 (fpm-fcgi) (built: Oct 31 2014 13:01:14)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


[root@flxx home]# nginx -v
nginx version: nginx/1.6.2


[root@flxx home]# uname
Linux
[root@flxx home]#

nginx配置


 
user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; gzip on; include /etc/nginx/conf.d/*.conf; include /etc/nginx/vhost/*.conf; }

截图

图片描述

nginx-php5-fpm phpmyadmin nginx

法老控D轨迹 11 years, 4 months ago

Your Answer