Mail sent from safe mode missing Apache environment?

From: Date: Tue, 01 Jul 2003 22:08:45 +0000
Subject: Mail sent from safe mode missing Apache environment?
Groups: php.install 
Request: Send a blank email to php-install+get-11191@lists.php.net to get a copy of this 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

« previous php.install (#11191) next »