phpMyAdmin 網頁打不開

蝸牛也是牛發表於2019-02-16

環境: 使用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…

相關文章