Re: problems with environment variables
| From: | (Michael Mauch) | Date: | Tue, 29 Jul 2003 17:04:27 +0000 |
| Subject: | Re: problems with environment variables | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11358@lists.php.net to get a copy of this message | ||
George L. Yermulnik wrote:
> Michael Mauch wrote:
>
>> George L. Yermulnik wrote:
>>
>> >I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2
>> >PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1
>> >
>> >It's a newly installed server with a lot of virtual hosts using
>> >environment variables like $REQUEST_URI in php scripts.
>> >
>> >The problem is that PHP doesn't show those variables, saying "Notice:
>> >Undefined variable: REQUEST_URI in ..."
>> >
>> >register_globals in /usr/local/etc/php.ini is On
>>
>>
>> Please make sure that /usr/local/etc/php.ini is indeed the php.ini that
>> is used by your PHP. To find out, you can write a PHP script with the
>> line:
>>
> It's for sure
> http://hosting01.yz.kiev.ua/phpinfo.php
Ok, there seems to be a bug in 4.3.3RC1 - I can reproduce it here:
<http://bugs.php.net/bug.php?id=24562>
But in 4.3.2 it should be ok (at least it is here on Linux), also in
4.3.1 and 4.3.0.
It's also fixed in the latest stable snapshots available from
<http://snaps.php.net>.
Regards...
Michael