敺 browser login phpmyadmin show error :
6 S5 r( K V* I7 `( b
( N9 @5 ?2 k. f' {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.
: K$ Z" ~6 P0 ]' f0 ^ w; C憿1.銝憿舐內餃亦恍4 ~0 V' ^8 U) v( E3 f* v
sol:
& S4 H. }4 j. ]/ ^* u8 u5 y8 x# h* W; j! p! A; Z
in /etc/php.ini
- c$ O+ Y/ h7 o% |5 j# m- session.save_path = "/var/lib/php/session"
銴鋆賭誨蝣 and /var/lib/php/session 桅 甈3 U- E# K* i: _; T |! f
- drwxrwx--- 2 root nginx 4096 Feb 16 04:47 session
銴鋆賭誨蝣 group 砌 apache ,寧 nginx ====ok
2 s: F0 U( Z( x0 N c) q& \ ^6 y9 K) n- Z+ B1 s1 y" d
憿2. 憿舐內餃亦恍,雿銝賡脣 mysql, input 甇蝣 account password 颱 箇 餃亦恍
" h8 N) X6 l) u: q7 f# \sol :
2 \* W3 e9 b8 X3 F- ichmod 777 /var/lib/php/session ==> 摰2 X" p: P: O( k6 q9 Z
o5 W; E( L7 }4 m3 N7 N, w7 F1 V
|
|