Bug #16577 Updated: PHP4 doesn't get any enviroment variables
| From: | sniper@php.net | Date: | Sat, 13 Apr 2002 00:22:28 +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-4803@lists.php.net to get a copy of this message | ||
ID: 16577
Updated by: sniper@php.net
Reported By: dhwz@gmx.net
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.0CVS-2002-04-12
New Comment:
Works fine here with PHP 4.2.0RC3 and Apache 2.0.35.
--Jani
p.s. Try RC3 from http://www.php.net/~derick/
Previous Comments:
------------------------------------------------------------------------
[2002-04-12 19:07:33] dhwz@gmx.net
i want to use apache2 and i wouldn't rewrite all my php scripts
------------------------------------------------------------------------
[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