tid=12077&從 browser login phpmyadmin 時 show error :
. W* F/ t- K# K/ V P" |
5 |/ \* H; N3 P% dCannot 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.
0 h( m; h0 L' ~' G3 ^2 W J問題1.不顯示登入畫面) A9 W/ a" [# U0 k, `
sol:
* N$ ?4 N1 F, \% V" G1 w# N: g, R% V9 [' D$ ]$ n
in /etc/php.ini 需有
7 G4 u" l2 m& P5 r+ X {- session.save_path = "/var/lib/php/session"
複製代碼 and /var/lib/php/session 目錄的擁有者 及權限是; r% D0 C3 w! z6 M( I
- drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
複製代碼 因 group 本來是 apache ,應改為 nginx ====ok& W, I$ I9 N( o% j
$ R# |( R8 W" g; Q! O) I# u
問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 account password 卻一直 出現 登入畫面 V5 G# @" O, z) _ {
sol :
9 q/ T& g% u* I \/ S1 [chmod 777 /var/lib/php/session ==> 搞定$ h7 R1 [$ y: V1 h$ H5 @
( C* U6 |' M9 f& y |