On May 10, 2008, at 11:49 PM, Nicolas Letellier wrote:
I use apache13 and php5. When I do a phpinfo(), I can see in
"Environment" sensibles datas when I launch apache in root. I see
all my env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR,
OSTYPE, LANG, etc, etc...). So, we see informations about user who
When apache is launched as boot (with apache_enable="YES"), I don't
see these informations. I only see:
This is OK. There is no critical informations.
How could I launch apache and mask these informations? I must reboot
to have this default datas, else I see environment data about the
user who lauch it.
Instead of just
$ su - root
This will give you only root's environment. Then do your startup
command for apache.