This is most likely the patch that 'broke' it;

revision 1.121
date: 2001/02/21 07:39:13;  author: sas;  state: Exp;  lines: +2 -2
Instead of assuming that sendmail lives in /usr/lib, if we don't find it,
we also check /usr/lib now.

PR: #9362
-AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, 

I think this is good. If some resource isn't available, then the function
using the resource shouldn't be enabled either. So the correct fix would
be to add a error message to mail() function, IMO.


On Tue, 17 Jul 2001, Rasmus Lerdorf wrote:

>I am not a fan of that config change that happened in 4.0.6 that checked
>to see if a sendmail binary is on the path and if it isn't it disables the
>mail() function at compile time.  I really think this should be a simple
>warning so people can configure php to point to whatever they want, or
>simply install sendmail afterwards and not need to recompile PHP.  Could
>whoever made this change please fix it?
>---------- Forwarded message ----------
>Date: Tue, 17 Jul 2001 06:38:49 -0500
>From: Patrick W. Rateliff <[EMAIL PROTECTED]>
>Subject: [PHP] mail() help
>I am getting this error when using the trying to use the mail function.  Any
>insite will help, I have been up for too long working on a few projects and
>my brain is damn near melted.
>mail() is not supported in this PHP build in
>so when I built PHP 4.06 I am assuming I missed a option, but just want to
>make sure before i head back and re-do things.  Is there a simple option to
>turn on the mail support.

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to