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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gtyler at onestop dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu May 02 10:01:30 2024 UTC