Bug #73554 [NEW]: undefined _GET

From: Date: Thu, 17 Nov 2016 13:06:14 +0000
Subject: Bug #73554 [NEW]: undefined _GET
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205432@lists.php.net to get a copy of this message
From: frank dot hartmann at netfira dot com Operating system: Windows Server 2008 R2 64bit PHP version: 7.0.13 Package: Apache2 related Bug Type: Bug Bug description:undefined _GET Description: ------------ I am quite confident that I encounter the same problem as described in these two questions: http://stackoverflow.com/questions/37463287/undefined-variable-get-after-a-period-of-time http://stackoverflow.com/questions/36150812/undefined-variable-get/37448703#37448703 After some arbitrary time (at least a few hours) the $_GET-Variable in any script is suddenly not set anymore. The only - and unacceptable - solution seems to be to restart Apache. This is now happening on a development and production server with the following characteristics. Dev: Windows Server 2008 R2 Datacenter 64bit, Apache 2.4.23, PHP 7.0.13 Prod: Windows Server 2008 R2 Datacenter 64bit, Apache 2.4.4, PHP 7.0.6 This is the codesnippet in a simple index.php <?php print_r($_POST); print_r($_GET); print_r($_REQUEST); print_r($HTTP_GET_VARS); echo "Hello World!"; Yielding the following Output in the browser by calling http://127.0.0.1/index.php?testGet=testValue: >Array ( ) > >Notice: Undefined variable: _GET in C:\Apache2.4\www\index.php on line 3 > >Array ( [testGet] => testValue ) > >Notice: Undefined variable: HTTP_GET_VARS in C:\Apache2.4\www\index.php on line 5 > >Hello World! The logs show no signs of any misbehavior and the processes respond (but slower than usual). -- Edit bug report at https://bugs.php.net/bug.php?id=73554&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73554&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73554&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73554&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73554&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73554&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73554&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73554&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73554&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73554&r=support Expected behavior: https://bugs.php.net/fix.php?id=73554&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73554&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73554&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73554&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73554&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73554&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73554&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73554&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73554&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73554&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73554&r=mysqlcfg

« previous php.bugs (#205432) next »