PHP 4.0 Bug #3805: Bad sendmail config in default php.ini-dist
| From: | sean at bebits dot com | Date: | Fri, 10 Mar 2000 21:30:38 +0000 |
| Subject: | PHP 4.0 Bug #3805: Bad sendmail config in default php.ini-dist | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16671@lists.php.net to get a copy of this message | ||
From: sean@bebits.com
Operating system: FreeBSD 3.3-RELEASE
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Installation problem
Bug description: Bad sendmail config in default php.ini-dist
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!