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

From: Date: Thu, 30 Jul 2015 05:35:53 +0000
Subject: Bug #70108 [Opn]: sometimes empty $_SERVER['QUERY_STRING']
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194825@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: laruence@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 -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: maybe ZTS issue? Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ 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 (#194825) next »