ID:               29176
 Comment by:       marrtins at hackers dot lv
 Reported By:      webmaster at ragnarokonline dot de
 Status:           Assigned
 Bug Type:         Variables related
 Operating System: All
 PHP Version:      5.0.0
 Assigned To:      sesser
 New Comment:

i think this is a mmcache issue. today i get similar problems - once
file is loaded with mmcache it is ok, next time there is no more
$_SERVER variable executing that script again.

notice, that it happens with apache (v 1.3.33), from command line same
script works well (php5.0.2).

also, with php4.3.7+apache1.3.27 it works as excpected too.


Previous Comments:
------------------------------------------------------------------------

[2004-08-24 03:12:00] webmaster at ragnarokonline dot de

Changing OS from SuSE 9.0 to All, since this is not limited to SuSE.

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

[2004-08-20 20:09:54] webmaster at ragnarokonline dot de

mmh ... or even $GLOBALS in general, so var_dump($GLOBALS) would
include $_SERVER, $_ENV and $_REQUEST and scripts, like

<?php

var_dump(in_array('_SERVER', array_keys($GLOBALS)));

?>

work as expected, which means the above script would return bool(true)
for example?

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

[2004-08-20 19:56:22] webmaster at ragnarokonline dot de

Perhaps triggering the jit, when $GLOBALS['_REQUEST'], $GLOBALS['_ENV']
or $GLOBALS['_SERVER'] is being called should fix the issue?

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

[2004-08-19 23:01:56] marcus at synchromedia dot co dot uk

I'm seeing this in a fresh compile of 5.0.1 on RedHat EL 
3. Again, turning register_long_arrays is a workaround 
until it's fixed properly. FWIW, I'm also using mmcache.

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

[2004-08-19 09:20:32] info at webaq dot com

PHP File use "SafeGuard Suite 3.5.0" encode 
Apache 1.3.29
PHP 5.0.0
Zend Engine v2.0.0
Zend Optimizer v2.5.3

Notice: Undefined variable: _SERVER in /www/ZendEncode.php on line 2

Undefined variable: _SERVER!!! >_<

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

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
    http://bugs.php.net/29176

-- 
Edit this bug report at http://bugs.php.net/?id=29176&edit=1

Reply via email to