Bug #70108 [Asn->Ver]: sometimes empty $_SERVER['QUERY_STRING']

From: Date: Thu, 30 Jul 2015 07:09:27 +0000
Subject: Bug #70108 [Asn->Ver]: sometimes empty $_SERVER['QUERY_STRING']
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194832@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:         ab@php.net
 Reported by:        bugzilla77 at gmail dot com
 Summary:            sometimes empty $_SERVER['QUERY_STRING']
-Status:             Assigned
+Status:             Verified
 Type:               Bug
 Package:            *General Issues
 Operating System:   Win7 32/64
 PHP Version:        7.0.0beta1
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

Thanks for the ping, Hui. Yeah, it has to be TS issue, i reproduce this with mpm_winnt so expect
same with mpm_worker.


Previous Comments:
------------------------------------------------------------------------
[2015-07-30 05:35:52] laruence@php.net

maybe ZTS issue?

------------------------------------------------------------------------
[2015-07-29 08:00:06] dominique at ottello dot net

Hi,

J:\wamp\bin\apache\apache2.4.16\bin>httpd -l
Compiled in modules:
  core.c
  mod_win32.c
  mpm_winnt.c
  http_core.c
  mod_so.c
Always same problem with 7.0.0 beta2
Never any similar problem for years, with Apache 2.4.x and Windows 7
And now, no problems with the same Apache and PHP versions: 5.3.29 or 5.4.43 or 5.5.27 or 5.6.11.

------------------------------------------------------------------------
[2015-07-29 00:34:52] cmb@php.net

> What is MPM abbreviation?

MPM means multi-processing module, see
<http://httpd.apache.org/docs/2.4/en/mpm.html>.

------------------------------------------------------------------------
[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?

------------------------------------------------------------------------


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


Thread (17 messages)

« previous php.bugs (#194832) next »