I just started testing the Apache 2.2.6 ebuild on some of my servers and noticed that the environment variables contain a lot of extra stuff (details below). Is there some way to get rid of this like it was before?

Thanks,
Brian

My env_whitelist just has two lines: ORACLE_HOME, TNS_ADMIN, to allow PHP to connect to Oracle DB's.

Example data taken from the end of two phpinfo()'s:

apache-2.2.6:

_ENV["TERM"]  Eterm
_ENV["SHELL"] /bin/bash
_ENV["DEFAULTLEVEL"]  default
_ENV["USER"]  root
_ENV["TNS_ADMIN"]     /usr/local/lib/oracle/network/admin
_ENV["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/usr/i386-pc-linux-gnu/gcc-bin/3.4.4
_ENV["PWD"]   /etc/init.d
_ENV["BOOTLEVEL"]     boot
_ENV["SVCNAME"]       apache2
_ENV["CONSOLETYPE"]   pty
_ENV["SHLVL"] 1
_ENV["HOME"]  /root
_ENV["SOFTLEVEL"]     default
_ENV["ORACLE_HOME"]   /usr/lib/oracle/10.2.0.3/client
_ENV["_"]     /sbin/start-stop-daemon


apache-2.0.58-r2:

_ENV["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/home/bpkroth/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/usr/i386-pc-linux-gnu/gcc-bin/3.4.4:/usr/sbin:/sbin:/usr/local/sbin
_ENV["ORACLE_HOME"]   /usr/lib/oracle/10.2.0.3/client
_ENV["TNS_ADMIN"]     no value

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to