· 9 years ago · Aug 22, 2016, 04:22 PM
1error_log('abc');
2
32016/08/22 16:11:57 [error] 5267#0: *4 FastCGI sent in stderr: "PHP message: abc" while reading response header from upstream, client: 192.168.1.12, server: domain.com, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "domain.com", referrer: "http://domain.com/"
4
5tail -f /var/log/nginx/error.log
6
7log_format vhosts 'test';