tid=12077&從 browser login phpmyadmin 時 show error :, b. Z& C/ k& c7 H. r, x" X
: U: O& r `8 Q7 X! ^5 B. T: MCannot 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.
" e0 [ M+ `; e+ ^* h' J問題1.不顯示登入畫面( [1 T( l X4 Z8 P, X; C
sol:- I s& z$ W$ D
! {$ i$ v: b6 u) W/ Jin /etc/php.ini 需有
5 J7 T6 O% B Y# e* C3 w; b+ u- session.save_path = "/var/lib/php/session"
複製代碼 and /var/lib/php/session 目錄的擁有者 及權限是
U3 r3 _: b3 @- drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
複製代碼 因 group 本來是 apache ,應改為 nginx ====ok
2 w4 z$ D7 ]3 X+ U
m" P S: \4 _% J6 B( f' C問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 account password 卻一直 出現 登入畫面2 P1 x0 p9 |. {3 h( N, D
sol :
# w# L8 Y7 {+ jchmod 777 /var/lib/php/session ==> 搞定
6 t! ?; W2 a5 j5 O1 {4 F* z) D& I" T
|