Bug #16577 Updated: PHP4 doesn't get any enviroment variables

From: Date: Fri, 12 Apr 2002 23:07:33 +0000
Subject: Bug #16577 Updated: PHP4 doesn't get any enviroment variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4795@lists.php.net to get a copy of this message
ID: 16577 Updated by: dhwz@gmx.net Reported By: dhwz@gmx.net -Status: Bogus +Status: Open Bug Type: Apache2 related Operating System: Linux PHP Version: 4.0CVS-2002-04-12 New Comment: i want to use apache2 and i wouldn't rewrite all my php scripts Previous Comments: ------------------------------------------------------------------------ [2002-04-12 18:53:51] dhwz@gmx.net setting register_globals is set to on and it doesn't work and it also doesn't work with php4.1.2 with apache2filter from cvs and apache2 ------------------------------------------------------------------------ [2002-04-12 18:12:30] sniper@php.net In PHP 4.2.0 and above, register_globals defaults to OFF in php.ini. Please try setting it 'on' or use the new super globals: $_ENV[], $_GET, $_SERVER..etc. If this is not the case, reopen this bug report. ------------------------------------------------------------------------ [2002-04-12 18:09:07] dhwz@gmx.net me and some other friends of mine have tested the latest apache2 + and newest php4 versions an got the same problem. php doesn't get any enviroment variables for example REMOTE_ADDR oder some variables like www.foo.org?test=foo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16577&edit=1

« previous php.bugs (#4795) next »