/var/log/nginx/error.log 銝航炊:
6 e) ~' U" f2 J4 ]& g- F+ k2015/09/30 20:06:49 [error] 32693#0: *420 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: open(/var/lib/php/session/sess_lpa5v8dftintrtmn450fsfrl41, O_RDWR) failed: Permission denied (13) in Unknown on line 0" while reading response header from upstream, client: 192.168.1.1, server: temp.52av.tv, request: "GET /forum.php?mod=post&action=newthread&fid=67 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm_av4u.sock:", host: "temp.av4u.info", referrer: "http://temp.av4u.info/forum.php?mod=forumdisplay&fid=67"
0 @/ y, T0 w. @7 V% L O. p# i' A W6 f4 y% c
PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0" while reading upstream, client: 192.168.1.1, server: temp.52av.tv, request: "GET /misc.php?css=1_wysiwyg&qDm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm_av4u.sock:", host: "temp.av4u.info", referrer: "http://temp.av4u.info/forum.php?mod=post&action=newthread&fid=67") z8 X% x9 M- G9 Q. S% s
* J" {" l0 y0 F8 U0 W. P
臬箇桅 /var/lib/php/session 甈憿.1 a4 p* ~, s! a- {8 n) J) g
Sol: chmod 777 /var/lib/php/session
! \+ w, o& b6 ~' a Y4 v5 [ |
|