tid=12077&從 browser login phpmyadmin 時 show error :
# Z8 k5 V4 b+ v/ `! O1 L5 k0 w0 i* f' k; e1 L$ }$ j2 b
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.8 j2 E [' t) v6 n3 S
問題1.不顯示登入畫面
/ g2 w5 ]7 B' A8 ~/ x1 X/ hsol:# N+ B% F9 u0 @7 k" `0 G; K
4 P! _ E( u: n$ kin /etc/php.ini 需有 9 ^" E- S9 P& d* \4 H' K2 {
- session.save_path = "/var/lib/php/session"
複製代碼 and /var/lib/php/session 目錄的擁有者 及權限是
3 I( u8 l; ^; k: D- drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
複製代碼 因 group 本來是 apache ,應改為 nginx ====ok
. l$ X. @! d( o! ^- V* H5 U! U. Z7 s1 S
問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 account password 卻一直 出現 登入畫面. f* o. l/ Q1 G. p! l
sol :
0 l' s7 l5 N" G; C5 ]chmod 777 /var/lib/php/session ==> 搞定3 M) _5 G* n8 H( d
5 M5 N! |# ~' t2 D" D
|