/var/log/nginx/error.log 銝航炊:
$ r$ ^. k5 _4 P2015/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"4 |, j; L* q; x: T" V# W7 g3 i, M
M/ ]) U/ N! |, `& r$ v- u/ Z. k( k
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"2 |( L7 S! R$ a4 U( `0 d) G
7 r. a, o: R3 X* t$ ]% M ~) }臬箇桅 /var/lib/php/session 甈憿.9 `& f! p' e% S6 A: P5 i( V
Sol: chmod 777 /var/lib/php/session
$ M% M1 g% t1 s8 A |
|