php-install Digest 1 Jul 2003 22:23:45 -0000 Issue 1443
Topics (messages 11191 through 11191):
Mail sent from safe mode missing Apache environment?
11191 by: Ed Ravin
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I've got Apache 1.3.27 with PHP 4.3.0 on NetBSD 1.5.3. When a PHP
program running in safe mode calls the mail() function to send
mail, the usual Apache environment variables like SCRIPT_FILENAME
and REMOTE_ADDRESS are not exported. This is a problem since I
need to log which CGI and remote host are responsible for the
outgoing mail, since all sendmail knows is that user "nobody" sent
it out.
Are there any build or configuration tweaks that might help me? If
this is a bug, is the problem in Apache or PHP?
Thanks,
-- Ed
--- End Message ---