FastCGI sent in stderr: "PHP message: PHP Warning: Unexpected character in input: '' (ASCII=25) sta
te=0 in php://input on line 4
PHP message: PHP Parse error: syntax error, unexpected '' (T_STRING) in php://input on line 4" while reading response header from upstream
FastCGI sent in stderr: "PHP message: PHP Warning: Unexpected character in input: '' (ASCII=20) state=0 in php://input on line 3
PHP message: PHP Parse error: syntax error, unexpected 'Å0' (T_STRING) in php://input on line 3" while reading response header from upstream
FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ']' in php://input on line 5" while reading response header from upstream
这个项目稳定运行很久了,突然有这个问题,重启php-fpm之后问题消失,过一段时间问题又出现,刚开始使用php7.0.16版本,升级到php7.0.33版本,问题依然存在
检查php.ini,找到short_open_tag 将其参数设置为on,并重启。