php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14309 mail(), warning not avail in this build because of missing sendmail at compile
Submitted: 2001-12-01 13:31 UTC Modified: 2001-12-01 22:53 UTC
From: gtyler at onestop dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.6 OS: Mandrake 8.1
Private report: No CVE-ID: None
 [2001-12-01 13:31 UTC] gtyler at onestop dot net
As discussed here:

http://www.geocrawler.com/archives/3/5/2001/7/0/6301177/

In 4.0.6 the configure programs and build have been changed to disable the mail() function if it is unable to locate the sendmail binary at compile time.

It is common that the MTA is installed after build and this results in PHP failing to build with mail() functionality.

Please fix and revert back to where this was not required.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-01 22:53 UTC] zak@php.net
AFAICT this has been fixed in PHP 4.1.0 (which shall be 
released quite soon).

Verified by removed sendmail from path, building PHP, and 
then attempting to use the mail function. mail() had been 
compiled in, but my test script returned the following 
message:

sh: /usr/sbin/sendmail: No such file or directory 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 20:01:32 2024 UTC