ID: 19095 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Duplicate +Status: Closed Bug Type: Apache2 related Operating System: Linux 2.4.19 PHP Version: 4CVS-2002-08-25 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-09-22 19:33:44] [EMAIL PROTECTED] Dupe of #17662 ------------------------------------------------------------------------ [2002-08-25 15:30:14] [EMAIL PROTECTED] I'm using the newest CVS HTTPD 2.0.41 and the newest CVS PHP 4.2.3. I've configured both httpd and php with minimal options. The problem is when i try ty use getenv() function. When I use print($REMOTE_ADDR) everything is ok. When I use print(getenv("REMOTE_ADDR")) nothing shows. Is this php related problem or httpd? BTW the problem is the same with HTTPD 2.0.40 and PHP 4.2.2 and below. Here are my configuration options: [root@challenger httpd-2.0.40]# cat konfiguruj ./configure \ --prefix=/usr/local/apache2 \ --with-mpm=prefork \ --enable-modules=all \ --enable-mods-shared=all \ --enable-suexec \ --with-suexec-caller=apache \ --with-suexec-userdir=public_html \ --with-suexec-uidmin=500 \ --with-suexec-gidmin=100 \ --with-suexec-safepath="/usr/local/bin:/usr/bin:/bin" \ --enable-ssl \ --enable-cache \ --enable-disk-cache \ --enable-mem-cache \ --enable-file-cache [root@challenger httpd-2.0.40]# [root@challenger php4]# ./configure \ --prefix=/usr/local/apache2/php \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-config-file-path=/usr/local/apache2/php/etc \ --enable-versioning \ --enable-track-vars=yes \ --enable-trans-sid \ --enable-url-includes \ --enable-sysvshm=yes \ --enable-sysvsem=yes \ --enable-safe-mode \ --enable-ftp \ --with-zlib \ --with-mysql \ --with-pgsql \ --with-ldap \ --with-gd \ --with-bz2 \ --with-db3 \ --with-openssl \ --with-gettext \ --with-jpeg --with-jpeg-dir=/usr/lib \ --with-png --with-png-dir=/usr/lib \ --with-xpm --with-xpm-dir=/usr/lib \ --with-freetype --with-freetype-dir=/usr/lib [root@challenger php4]# ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19095&edit=1
