Bug #77208 [Com]: $_POST and other server superglobals become 'unset'

From: Date: Thu, 29 Nov 2018 11:53:08 +0000
Subject: Bug #77208 [Com]: $_POST and other server superglobals become 'unset'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218205@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 Comment by: duncan dot courts at codex-atc dot com Reported by: duncan dot courts at codex-atc dot com Summary: $_POST and other server superglobals become 'unset' 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? Yes, as part of Bitnami WAMPstack. Previous Comments: ------------------------------------------------------------------------ [2018-11-28 21:06:50] ab@php.net Thanks for the report. Do you use PHP as Apache module? Thanks. ------------------------------------------------------------------------ [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

« previous php.bugs (#218205) next »