Re: mail() command undefined?
| From: | Curt Zirzow | Date: | Tue, 04 May 2004 15:38:53 +0000 |
| Subject: | Re: mail() command undefined? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185320@lists.php.net to get a copy of this message | ||
* Thus wrote Aaron Gould (webdevel@partscanada.com):
> Here's an error I'm getting with a few scripts:
>
> Call to undefined function: mail()
This means that php's configure script was unable to find sendmail.
you're sendmail binary probably is in a non-standard location.
You can either ln sendmail in a standard place (/usr/sbin) or
before running configure:
PROG_SENDMAIL=/path/to/real/sendmail; export PROG_SENDMAIL
./configure
Curt
--
"I used to think I was indecisive, but now I'm not so sure."