標題: phpmyadmin -- Cannot start session without errors, please check errors given in [打印本頁] 作者: IT_man 時間: 2015-6-26 00:21 標題: phpmyadmin -- Cannot start session without errors, please check errors given in 從 browser login phpmyadmin 時 show error : 6 o& z# H' D. ^. K' ~0 x+ r$ l8 R" {9 q
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.4 s3 l7 G3 \$ K
問題1.不顯示登入畫面. ]; G; s# i0 C- y- @" \+ ]9 f8 T
sol:0 Y! D3 a( t. O& `+ f# R
; p( A: Q1 v: Jin /etc/php.ini 需有 9 G/ _' K7 k' B3 S& \
session.save_path = "/var/lib/php/session"
複製代碼
and /var/lib/php/session 目錄的擁有者 及權限是9 ?7 m5 @7 f4 N( [/ o
drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
複製代碼
因 group 本來是 apache ,應改為 nginx ====ok' e, N) B: p( b; w! C) w# w
. z- q0 F+ r. o+ a8 {$ h; r& k1 R3 |
問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 account password 卻一直 出現 登入畫面5 ?! q8 ?; S" ]/ G
sol : 4 h* H3 }% Z: ^) @6 c9 O. Echmod 777 /var/lib/php/session ==> 搞定- H: s# [3 }( G* R
3 R. z7 `- V7 U: L8 _( A+ r1 @. [9 u