Re: problems with environment variables
| From: | George L. Yermulnik | Date: | Tue, 29 Jul 2003 06:28:32 +0000 |
| Subject: | Re: problems with environment variables | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11357@lists.php.net to get a copy of this message | ||
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 surehttp://hosting01.yz.kiev.ua/phpinfo.php -- yz@tormoz.net [YZ-RIPE]