|  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:

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-01 22:53 UTC]
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 

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

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC