Bug #77208 [Opn->Fbk]: $_POST and other server superglobals become 'unset'
| From: | ab@php.net | Date: | Wed, 28 Nov 2018 21:06:50 +0000 |
| Subject: | Bug #77208 [Opn->Fbk]: $_POST and other server superglobals become 'unset' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218191@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77208&edit=1
ID: 77208
Updated by: ab@php.net
Reported by: duncan dot courts at codex-atc dot com
Summary: $_POST and other server superglobals become 'unset'
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Windows 7 Professional
PHP Version: 7.1.24
Block user comment: N
Private report: N
New Comment:
Thanks for the report. Do you use PHP as Apache module?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-11-27 11:01:30] duncan dot courts at codex-atc dot com
Description:
------------
After a period of normal operation, $_POST 'disappears' and isset() returns false.
Restarting Apache instantly restores normal operation. The same has occurred with $_COOKIE,
$_REQUEST, and $_SERVER, but not at the same time as $_POST. This has happened on different servers
at different sites running the same PHP code. Occurrence frequency varies a lot, but can occur as
little as a couple of hours after restart. There are no resource limitations and everything else
appears normal. None of my code modifies the superglobals, only reads single array elements into
other named variables. Apache version is 2.4.35.
Test script:
---------------
print_r($_POST);
// Normal operation - prints Array()
// After fault appears - prints nothing
isset($_POST);
// Normal operation - returns TRUE
// After fault appears - returns FALSE
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77208&edit=1