Date: 07/31/01
- Next message: sniper <email protected>: "[PHP-DEV] Bug #8784 Updated: using Informix with PHP CGI"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #11726 Updated: undefined symbol alloca while building apache"
- In reply to: Rasmus Lerdorf: "[PHP-DEV] [PHP] mail() help (fwd)"
- Next in thread: Heikki Korpela: "Re: [PHP-DEV] [PHP] mail() help (fwd)"
- Reply: Heikki Korpela: "Re: [PHP-DEV] [PHP] mail() help (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib)
+AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib)
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.
--Jani
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?
>
>-Rasmus
>
>---------- Forwarded message ----------
>Date: Tue, 17 Jul 2001 06:38:49 -0500
>From: Patrick W. Rateliff <pwrateliff <email protected>>
>To: php-general <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 <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] Bug #8784 Updated: using Informix with PHP CGI"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #11726 Updated: undefined symbol alloca while building apache"
- In reply to: Rasmus Lerdorf: "[PHP-DEV] [PHP] mail() help (fwd)"
- Next in thread: Heikki Korpela: "Re: [PHP-DEV] [PHP] mail() help (fwd)"
- Reply: Heikki Korpela: "Re: [PHP-DEV] [PHP] mail() help (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

