Date: 10/20/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] Resources patch"
- Previous message: Kristian Köhntopp: "Re: [PHP-DEV] why the damn phpinfo() is so talkative?"
- In reply to: Jason Greene: "Re: [PHP-DEV] why the damn phpinfo() is so talkative?"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Reply: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Reply: Jason Greene: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Jason!
On Thu, 19 Oct 2000, Jason Greene wrote:
> I agree with what your saying, though I do agree that hosted customers seeing certain environment variables can be undesireable.
> What do you think about a safe mode ini setting that could block certain "sensative" vars from being read?
there is already something like this, see:
safe_mode_allowed_env_vars
safe_mode_protected_env_vars
options your php.ini.
As for the original post, when you start Apache it inherits all your
environment, this is how the programs work least on *nix.
If you don't want that, use the magic `env' program like this:
# /usr/bin/env -i /opt/apache/sbin/httpd
(with your env and httpd paths, of course).
The -i options `clears' the environ so the httpd process starts w/o
inheriting anything.
-- teodor
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] Resources patch"
- Previous message: Kristian Köhntopp: "Re: [PHP-DEV] why the damn phpinfo() is so talkative?"
- In reply to: Jason Greene: "Re: [PHP-DEV] why the damn phpinfo() is so talkative?"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Reply: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Reply: Jason Greene: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

