To respond to both...I've used this signature on another PHP 4.3.0 machine.
It's part of PHP core (so they say) and should always be enabled.

... (this space represents about 15 minutes) ...

I got it!
Dang thing couldn't find my sendmail (the first time I built...a while ago).
I was recompiling...but not removing the config.cache.
Anyhow...PHP couldn't find my '/usr/sbin/sendmail' (the first time) and
placed that information into config.cache.  After running a 'make distclean'
in the PHP source dir and then after
`./myconfig.sh && make && make install && kill `pidof httpd` &&
/usr/sbin/httpd`

I was ok.
There will shortly be a document on my web site
(http://www.edoceo.com/liberum) that will have this information...


----- Original Message -----
From: "Frederic Herman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 11:22
Subject: Re: PHP can't mail() !?


> Juan Nin wrote:
>
> >From: "David Busby" <[EMAIL PROTECTED]>
> >
> >
> >
> >>    When calling mail() in php I get:
> >>Fatal error: Call to undefined function: mail() in
> >>/edoceo/www/edoceo.com/contact.php on line 19
> >>
> >>    I don't see anything odd in my maillog.  Does mail() use sendmail?
> >>
> >>
> >I've
> >
> >
> >>got it pointed to the correct path (but I use postfix not sendmail,
> >>
> >>
> >postfix
> >
> >
> >>supplies a compatible sendmail binary).  Postfix is started too.  Any
> >>
> >>
> >ideas?
> >
> >the error does not apply to wether you use Postfix or Sendmail, it says
> >"Call to undefined function: mail()", so it means that PHP can't find the
> >mail() function.
> >
> >I don't know how it works, but probably you need to include some module
so
> >PHP recognizes the funtion.
> >
> >Regards,
> >
> >Juan
> >
> >
> >
> >
> >
> >
> It may mean that you did not pass the mail function the correct number
> of arguments.  Check the function signature:
> http://www.php.net/manual/en/function.mail.php
>
> Fred
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to