|
查 /var/log/nginx/error.log 有下列錯誤:
7 m/ M7 h7 g! ?& T( \1 g2015/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"
* W. U. W2 d0 Z. W5 Y4 |4 r9 {及
* _" _- N. L. Q. m# A9 I7 U ?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"
/ F9 |0 ?; y3 s. U* B# l# Y
4 B1 _ k6 H8 H$ G是因為目錄 /var/lib/php/session 權限問題.
5 D7 M: f5 c1 ] QSol: chmod 777 /var/lib/php/session
9 `' v& [$ @' S5 J! N5 H, [6 I m |
|
-->
|