phpmyadmin -- Cannot start session without errors, please check errors given in
從 browser login phpmyadmin 時 show error :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.
問題1.不顯示登入畫面
sol:
in /etc/php.ini需有
session.save_path = "/var/lib/php/session"and/var/lib/php/session目錄的擁有者 及權限是
drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session因 group 本來是 apache ,應改為 nginx ====ok
問題2. 有顯示登入畫面,但不能進入 mysql, input 正確 accountpassword 卻一直 出現 登入畫面
sol :
chmod 777/var/lib/php/session ==> 搞定
頁:
[1]