Bug #70108 [Opn]: sometimes empty $_SERVER['QUERY_STRING']

From: Date: Wed, 29 Jul 2015 00:34:54 +0000
Subject: Bug #70108 [Opn]: sometimes empty $_SERVER['QUERY_STRING']
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194800@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70108&edit=1 ID: 70108 Updated by: cmb@php.net Reported by: bugzilla77 at gmail dot com Summary: sometimes empty $_SERVER['QUERY_STRING'] Status: Open Type: Bug Package: *General Issues Operating System: Win7 32/64 PHP Version: 7.0.0beta1 Block user comment: N Private report: N New Comment: > What is MPM abbreviation? MPM means multi-processing module, see <http://httpd.apache.org/docs/2.4/en/mpm.html>. Previous Comments: ------------------------------------------------------------------------ [2015-07-26 12:32:49] dominique at ottello dot net Same problem with 7.0.0 beta 2 [26-Jul-2015 14:06:51 Europe/Paris] PHP Notice: Undefined variable: _SERVER in J:\wamp\www\index.php on line 25 [26-Jul-2015 14:06:51 Europe/Paris] PHP Notice: Undefined variable: _SERVER in J:\wamp\www\index.php on line 259 Line 25 : $server_software = $_SERVER['SERVER_SOFTWARE']; Line 259 : if (strpos($_SERVER["HTTP_USER_AGENT"], "MSIE 7") === false && strpos($_SERVER["HTTP_USER_AGENT"], "MSIE 8") === false) ------------------------------------------------------------------------ [2015-07-23 08:28:30] laruence@php.net I can not reproduce this with php-fpm (linux centos 6.4). maybe a windows special issue? ------------------------------------------------------------------------ [2015-07-22 12:11:44] bugzilla77 at gmail dot com I have default Apache httpd.conf plus: PHPINIDir c:/php7 LoadModule php7_module c:/php7/php7apache2_4.dll AddType application/x-httpd-php .php PS What is MPM abbreviation? ------------------------------------------------------------------------ [2015-07-22 09:28:28] yohgaki@php.net Which MPM you're using? ------------------------------------------------------------------------ [2015-07-22 07:11:49] bugzilla77 at gmail dot com PS. $_SERVER['REQUEST_URI'] is also bugy ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70108 -- Edit this bug report at https://bugs.php.net/bug.php?id=70108&edit=1

« previous php.bugs (#194800) next »