Bug #80378 [Com]: syntax error in php://input
| From: | 306503207 at qq dot com | Date: | Wed, 18 Nov 2020 12:31:05 +0000 |
| Subject: | Bug #80378 [Com]: syntax error in php://input | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-230425@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80378&edit=1
ID: 80378
Comment by: 306503207 at qq dot com
Reported by: 306503207 at qq dot com
Summary: syntax error in php://input
Status: Feedback
Type: Bug
Package: FPM related
Operating System: CentOS Linux release 7.4.1708
PHP Version: 7.2.34
Block user comment: N
Private report: N
New Comment:
The higher version may have the same problem. Has this bug been fixedï¼
Previous Comments:
------------------------------------------------------------------------
[2020-11-18 12:17:35] daverandom@php.net
https://www.php.net/supported-versions.php
------------------------------------------------------------------------
[2020-11-18 12:16:41] daverandom@php.net
Please clarify which PHP version you are using. Note that the 7.0.x branch is no longer supported.
------------------------------------------------------------------------
[2020-11-18 12:14:32] 306503207 at qq dot com
Description:
------------
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 Parse error: syntax error, unexpected '{' in php://input on line 3" while
reading response header from upstream
PHP Parse error: syntax error, unexpected '{' in php://input on line 3" while
reading response header from upstream
Suddenly, this problem appears. After restarting php-fpm, the problem disappears. After a while, the
problem reappears.
The problem occurred in PHP-7.0.16. I update to PHP-7.0.33, but problems still arise.
Test script:
---------------
nginx + php-fpm
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80378&edit=1