Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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版本,问题依然存在

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
4.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

检查php.ini,找到short_open_tag 将其参数设置为on,并重启。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...