|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-06 06:52 UTC] roguedragon at merging dot org
[2004-05-06 09:18 UTC] derick@php.net
[2004-05-06 20:02 UTC] roguedragon at merging dot org
[2004-05-06 20:21 UTC] wez@php.net
[2004-05-07 17:52 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 15:00:02 2025 UTC |
Description: ------------ I've seen multiple bugs were reported about this in the past, but all were using older versions of PHP, and most were said to be fixed or had patches that were entered into the CVS for the next version. But, here I am with the problem. On the server listed above (FreeBSD 4.9-RELEASE/Apache 1.3.29/PHP 4.3.6), --enable-sigchild was used in compilation. (There was a patch posted about On a simple mail script, the mail() function always returns false, even though the mail is actually going through. (Script posted below) After reading through the bug reports, I recompiled without the --enable-sigchild flag and rebooted everything. phpinfo() no longer states that it was compiled with --enable-sigchild, but the problem still exists. I tested the same script on another server that was compiled with --enable-sigchild, and had the same results. mail() returned false even though it sent the email out. (FreeBSD 4.8-RELEASE/Apache 1.3.27/PHP 4.3.2) On a server that was NOT compiled with --enable-sigchild (FreeBSD 4.9-RELEASE/Apache 1.3.29/PHP 4.3.4), mail() returned the correct status. Any suggestions? Reproduce code: --------------- <?php if( mail( 'xxx@xxx.xxx', 'test subject', 'just a test message', "From: 'me@mine.com' ) ) echo "Success"; else echo "Failed."; ?>