phpMyAdmin 网页打不开

环境: 使用phpStudy集成环境;

版本1:php5.4.45 + Apache;版本2:php5.4.45-nts + Nginx;


问题描述:

安装完成后,服务器和数据库可以成功启动,版本1和版本2都可以成功启动服务,可以打开首页;切换到版本1时,能打开 “http://localhost/phpMyAdmin/index.php” ;切换到版本2时,打开 “http://localhost/phpMyAdmin/index.php” 时会报错;

解决:
查看 nginx 错误日志;
错误信息:
2018/12/05 16:50:55 [error] 18692#8644: *1 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /phpMyAdmin/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:8080", host: "localhost:8080", referrer: "http://localhost:8080/"


看不懂,随便百度了下,感觉是端口问题,(我本地开了vpn)。
然后重启电脑,最先开启phpstudy,版本1和版本2下都可以成功的打开http://localhost/phpMyAdmin/i...

相关推荐