Re: Fatal Error: Call to undefined function: *mail()*? What's next, echo?
| From: | Jason Wong | Date: | Thu, 26 Jun 2003 06:30:40 +0000 |
| Subject: | Re: Fatal Error: Call to undefined function: *mail()*? What's next, echo? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152917@lists.php.net to get a copy of this message | ||
On Thursday 26 June 2003 12:38, weston@leary.csoft.net wrote:
> I was testing a boring little FormMail script I've used on dozens of PHP
> installations (Apache and IIS), when I got an error:
>
> Fatal error: Call to undefined function: mail() in
> /usr/local/apache/vweb/redfishinsurance/form2mail.php on line 65
> What? How? I quote from the PHP manual entry for the "mail()" function:
>
> "Requirements
>
> No external libraries are needed to build this extension.
>
> Installation
>
> There is no installation needed to use these functions; they are part of
> the PHP core."
What the manual doesn't make clear is that mail() is only compiled in if
./configure was able to find the sendmail binary.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------