php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3805 Bad sendmail config in default php.ini-dist
Submitted: 2000-03-10 16:30 UTC Modified: 2000-03-19 18:07 UTC
From: sean at bebits dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: FreeBSD 3.3-RELEASE
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: sean at bebits dot com
New email:
PHP Version: OS:

 

 [2000-03-10 16:30 UTC] sean at bebits dot com
In the default .ini file php.ini-dist there is a line that reads as follows:

sendmail_path   =       ;for unix only, may supply arguments as well (default is sendmail -t)

The problem with this line is that it is *not* commented out.  So, when you copy this default file to /usr/local/lib/php.ini and try to use the mail() function, it doesn't work because it's trying to use a sendmail path of "".  Simply putting a semicolon in front of this line causes PHP to go back to using it's default and then things work much better.

Hopefully this makes sense.  This caused me great confusion for awhile.  :-)

Keep up the great work!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-19 18:07 UTC] rasmus at cvs dot php dot net
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC