52AV手機A片王|52AV.ONE

標題: 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 :" ]( N* N0 S& Z7 d1 ^
0 j/ w. ~: r  i  I3 D0 S
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.* y7 t. {, S. V( R& t
問題1.不顯示登入畫面
. Z* K  P1 n7 t! Bsol:
2 P3 V6 X& O. X' N% v5 G. f, g
& [1 s# z1 r$ h3 }in /etc/php.ini  需有 ! q/ k7 f. E  h( k/ ~" Q
  1. session.save_path = "/var/lib/php/session"
複製代碼
and  /var/lib/php/session  目錄的擁有者 及權限是
& O; k8 E! F3 k* |
  1. drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
複製代碼
因 group 本來是 apache ,應改為 nginx ====ok7 Z1 y4 t1 n4 Z2 I7 m
( ~: `6 q! y0 o6 _# w) }
問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 account  password 卻一直 出現 登入畫面
% k8 ^+ ?7 {* H, nsol :$ ^0 a, [3 v% G$ Y+ W" ~; u
chmod 777  /var/lib/php/session   ==> 搞定
% Z5 O5 S( [1 Y/ k0 a$ j' |# ^' z, J* R- i5 j! k( ~: R





歡迎光臨 52AV手機A片王|52AV.ONE (https://www.itech.casa/) Powered by Discuz! X3.2