|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-22 19:33 UTC] iliaa@php.net
[2002-09-23 07:26 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 03:00:01 2025 UTC |
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]#